Spaces:
Runtime error
Runtime error
Commit
·
6726b96
1
Parent(s):
e14435b
Update app.py
Browse files
app.py
CHANGED
@@ -69,9 +69,8 @@ with gr.Blocks() as demo:
|
|
69 |
app = GUI()
|
70 |
upload_button.click(fn=app.analyse, inputs=[api_input, pdf_input], outputs=result)
|
71 |
ask_button.click(app.ask_question, inputs=question_input, outputs=answer)
|
72 |
-
|
73 |
-
iface.launch()
|
74 |
-
|
75 |
if __name__ == "__main__":
|
76 |
-
demo.
|
77 |
-
demo.
|
|
|
|
69 |
app = GUI()
|
70 |
upload_button.click(fn=app.analyse, inputs=[api_input, pdf_input], outputs=result)
|
71 |
ask_button.click(app.ask_question, inputs=question_input, outputs=answer)
|
72 |
+
|
|
|
|
|
73 |
if __name__ == "__main__":
|
74 |
+
demo.title = title
|
75 |
+
demo.discription= description
|
76 |
+
demo.launch() # add "share=True" to share CHATGPT-PAPER-READER app on Internet. an app on hugging face
|