Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1,11 +1,12 @@
|
|
1 |
import gradio as gr
|
2 |
|
3 |
with gr.Blocks(fill_height=True) as demo:
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
|
|
10 |
|
11 |
demo.launch()
|
|
|
1 |
import gradio as gr
|
2 |
|
3 |
with gr.Blocks(fill_height=True) as demo:
|
4 |
+
gr.Markdown("## 🔮 CohereLabs/c4ai-command-r7b-12-2024 Model")
|
5 |
+
|
6 |
+
# Load the hosted model interface (no token, no login)
|
7 |
+
loaded_model = gr.Interface.load("models/CohereLabs/c4ai-command-r7b-12-2024")
|
8 |
+
|
9 |
+
# Render the loaded model UI inside your Blocks layout
|
10 |
+
loaded_model.render()
|
11 |
|
12 |
demo.launch()
|