edumunozsala commited on
Commit
4c24578
1 Parent(s): 2f6bd9e

Update app.py

Browse files

Modiifed temperature, set 0.1 to minimum temperature

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.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")
 
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.1, 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")