File size: 379 Bytes
9a1dc1a
 
 
5d385b1
 
 
 
 
 
 
0bc6cab
9a1dc1a
1
2
3
4
5
6
7
8
9
10
11
12
import gradio as gr

with gr.Blocks(fill_height=True) as demo:
    gr.Markdown("## 🔮 CohereLabs/c4ai-command-r7b-12-2024 Model")
    
    # Load the hosted model interface (no token, no login)
    loaded_model = gr.Interface.load("models/CohereLabs/c4ai-command-r7b-12-2024")

    # Render the loaded model UI inside your Blocks layout
    loaded_model.render()

demo.launch()