Spaces:
Runtime error
Runtime error
| 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() |