Spaces:
Runtime error
Runtime error
Commit ·
e12f489
1
Parent(s): 5097e24
Update app.py
Browse files
app.py
CHANGED
|
@@ -305,7 +305,7 @@ with gr.Blocks() as demo:
|
|
| 305 |
out2 = gr.Textbox(label="Summary")
|
| 306 |
|
| 307 |
inp2.change(pdfv2, inputs=[inp2,chainType2], outputs=[out2])
|
| 308 |
-
|
| 309 |
|
| 310 |
gr.Markdown("""# Q&A""")
|
| 311 |
question2 = gr.Textbox(label="Question related to the pdf")
|
|
|
|
| 305 |
out2 = gr.Textbox(label="Summary")
|
| 306 |
|
| 307 |
inp2.change(pdfv2, inputs=[inp2,chainType2], outputs=[out2])
|
| 308 |
+
doSum2.click(pdfv2, inputs=[inp2,chainType2], outputs=[out2])
|
| 309 |
|
| 310 |
gr.Markdown("""# Q&A""")
|
| 311 |
question2 = gr.Textbox(label="Question related to the pdf")
|