Spaces:
Runtime error
Runtime error
edumunozsala
commited on
Commit
•
4c24578
1
Parent(s):
2f6bd9e
Update app.py
Browse filesModiifed temperature, set 0.1 to minimum temperature
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.
|
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")
|