Spaces:
Runtime error
Runtime error
Reformat code
Browse files
app.py
CHANGED
|
@@ -55,7 +55,7 @@ with gr.Blocks() as demo:
|
|
| 55 |
show_label=False)
|
| 56 |
btn_qna = gr.Button("Responder")
|
| 57 |
out_qna = gr.Textbox(show_label=False)
|
| 58 |
-
btn_qna.click(fn=answer_question,
|
| 59 |
-
out_url_text, inp_qna], outputs=out_qna)
|
| 60 |
|
| 61 |
demo.launch()
|
|
|
|
| 55 |
show_label=False)
|
| 56 |
btn_qna = gr.Button("Responder")
|
| 57 |
out_qna = gr.Textbox(show_label=False)
|
| 58 |
+
btn_qna.click(fn=answer_question,
|
| 59 |
+
inputs=[out_url_text, inp_qna], outputs=out_qna)
|
| 60 |
|
| 61 |
demo.launch()
|