Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -3,12 +3,12 @@ import gemini_gradio
|
|
3 |
|
4 |
with gr.Blocks(fill_height=True) as demo:
|
5 |
gr.Markdown("**Note:** You need to use a SambaNova API key from [SambaNova Cloud](https://cloud.sambanova.ai/).")
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
|
14 |
demo.launch(ssr_mode=False)
|
|
|
3 |
|
4 |
with gr.Blocks(fill_height=True) as demo:
|
5 |
gr.Markdown("**Note:** You need to use a SambaNova API key from [SambaNova Cloud](https://cloud.sambanova.ai/).")
|
6 |
+
|
7 |
+
gemini_interface = gr.load(
|
8 |
+
name="gemini-1.5-flash", # Se establece el modelo por defecto
|
9 |
+
src=gemini_gradio.registry,
|
10 |
+
fill_height=True,
|
11 |
+
chatbot=gr.Chatbot(height=250, type="messages")
|
12 |
+
)
|
13 |
|
14 |
demo.launch(ssr_mode=False)
|