Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -16,8 +16,9 @@ with gr.Blocks() as demo:
|
|
16 |
name="gemini-1.5-flash", # Se establece el modelo por defecto
|
17 |
src=gemini_gradio.registry,
|
18 |
fill_height=True,
|
19 |
-
echo
|
|
|
20 |
chatbot=gr.Chatbot(type="messages")
|
21 |
)
|
22 |
|
23 |
-
demo.launch(ssr_mode=False)
|
|
|
16 |
name="gemini-1.5-flash", # Se establece el modelo por defecto
|
17 |
src=gemini_gradio.registry,
|
18 |
fill_height=True,
|
19 |
+
echo=echo, # Corregido: se asigna la funci贸n 'echo' correctamente
|
20 |
+
additional_inputs=[system_prompt, slider], # Corregido: se pasa como lista
|
21 |
chatbot=gr.Chatbot(type="messages")
|
22 |
)
|
23 |
|
24 |
+
demo.launch(ssr_mode=False)
|