Spaces:
Running
Running
File size: 479 Bytes
446d2fd 544ecfa 60210e6 df623a9 5906ce7 275f792 df623a9 5906ce7 5df4acc |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
import gradio as gr
import gemini_gradio
with gr.Blocks(fill_height=True) as demo:
gr.Markdown("**Note:** You need to use a SambaNova API key from [SambaNova Cloud](https://cloud.sambanova.ai/).")
gemini_interface = gr.load(
name="gemini-1.5-flash", # Se establece el modelo por defecto
src=gemini_gradio.registry,
fill_height=True,
save_history: true,
chatbot=gr.Chatbot(type="messages")
)
demo.launch(ssr_mode=False)
|