Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -49,8 +49,8 @@ with gr.Blocks(theme=theme) as demo:
|
|
| 49 |
query_text = gr.Textbox(label="Query")
|
| 50 |
answer_text = gr.Textbox(label="Respuesta")
|
| 51 |
clean_btn = gr.Button(value="¡Otra pregunta!")
|
| 52 |
-
with gr.Column(scale=1, min_width=120):
|
| 53 |
-
|
| 54 |
|
| 55 |
answer_btn.click(generate_answer, inputs=question_text, outputs=[query_text, answer_text, cost_text])
|
| 56 |
clean_btn.click(clean_text, outputs=[question_text, query_text, answer_text, cost_text])
|
|
|
|
| 49 |
query_text = gr.Textbox(label="Query")
|
| 50 |
answer_text = gr.Textbox(label="Respuesta")
|
| 51 |
clean_btn = gr.Button(value="¡Otra pregunta!")
|
| 52 |
+
#with gr.Column(scale=1, min_width=120):
|
| 53 |
+
# cost_text = gr.TextArea(label='Costo de la consulta', lines=1)
|
| 54 |
|
| 55 |
answer_btn.click(generate_answer, inputs=question_text, outputs=[query_text, answer_text, cost_text])
|
| 56 |
clean_btn.click(clean_text, outputs=[question_text, query_text, answer_text, cost_text])
|