Spaces:
Running
Running
File size: 463 Bytes
446d2fd 544ecfa 446d2fd 544ecfa 339f3c1 1c005bc 339f3c1 544ecfa |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
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,
chatbot=gr.Chatbot(height=250, type="messages")
)
demo.launch(ssr_mode=False)
|