Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -8,10 +8,7 @@ with gr.Blocks(fill_height=True) as demo:
|
|
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(type="messages")
|
12 |
-
temperature=0.7, # Aquí ajustas la temperatura
|
13 |
-
top_p=0.9, # Aquí ajustas top_p
|
14 |
-
top_k=50 # Aquí ajustas top_k
|
15 |
)
|
16 |
|
17 |
-
demo.launch(ssr_mode=
|
|
|
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(type="messages")
|
|
|
|
|
|
|
12 |
)
|
13 |
|
14 |
+
demo.launch(ssr_mode=False)
|