Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -52,8 +52,8 @@ with gr.Blocks(theme=theme) as demo:
|
|
| 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
|
| 57 |
examples = gr.Examples(examples=examples,
|
| 58 |
inputs=[question_text]
|
| 59 |
)
|
|
|
|
| 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
|
| 57 |
examples = gr.Examples(examples=examples,
|
| 58 |
inputs=[question_text]
|
| 59 |
)
|