JeCabrera commited on
Commit
0cb8c5e
·
verified ·
1 Parent(s): ed7ab94

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -2
app.py CHANGED
@@ -8,7 +8,10 @@ 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
  )
13
 
14
- demo.launch(ssr_mode=False)
 
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=true)