edumunozsala commited on
Commit
2f6bd9e
1 Parent(s): 3f454da

Update app.py

Browse files

Modified temperature values

Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -113,7 +113,7 @@ with gr.Blocks(theme="snehilsanyal/scikit-learn", title="QA Legal Refugiados") a
113
  label= "📌 Ejemplos de cuestiones. Se les asignara el contexto automáticamente")
114
 
115
  with gr.Column(scale=1, min_width=200):
116
- temperature=gr.Slider(minimum=0.2, maximum=1, step=0.1, value=0.3, label="🌡 Temperature", visible=True)
117
  inference_btn = gr.Button("Responder")
118
  inference_btn.click(fn=generate_inference, inputs=[inp, context, temperature], outputs=out)
119
  clean_context_btn = gr.Button("Limpiar contexto")
 
113
  label= "📌 Ejemplos de cuestiones. Se les asignara el contexto automáticamente")
114
 
115
  with gr.Column(scale=1, min_width=200):
116
+ temperature=gr.Slider(minimum=0.0, maximum=0.8, step=0.1, value=0.3, label="🌡 Temperature", visible=True)
117
  inference_btn = gr.Button("Responder")
118
  inference_btn.click(fn=generate_inference, inputs=[inp, context, temperature], outputs=out)
119
  clean_context_btn = gr.Button("Limpiar contexto")