Update app.py
Browse files
app.py
CHANGED
@@ -156,6 +156,7 @@ with gr.Blocks() as demo:
|
|
156 |
|
157 |
msg.submit(respond, inputs=[msg, chatbot_interface], outputs=[msg, chatbot_interface])
|
158 |
clear.click(clear_chatbot, outputs=[chatbot_interface])
|
|
|
159 |
|
160 |
if __name__ == "__main__":
|
161 |
demo.launch()
|
|
|
156 |
|
157 |
msg.submit(respond, inputs=[msg, chatbot_interface], outputs=[msg, chatbot_interface])
|
158 |
clear.click(clear_chatbot, outputs=[chatbot_interface])
|
159 |
+
path_button.click(get_pdf_path, outputs=[pdf_path_display])
|
160 |
|
161 |
if __name__ == "__main__":
|
162 |
demo.launch()
|