Update app.py
Browse files
app.py
CHANGED
@@ -99,7 +99,7 @@ def upload_pdf(file):
|
|
99 |
|
100 |
|
101 |
with gr.Blocks() as demo:
|
102 |
-
|
103 |
chatbot = gr.Chatbot(value=[], elem_id="chatbot")
|
104 |
with gr.Row():
|
105 |
with gr.Column(scale=0.70):
|
|
|
99 |
|
100 |
|
101 |
with gr.Blocks() as demo:
|
102 |
+
btn = gr.UploadButton("📁 Upload a PDF", file_types=[".pdf"])
|
103 |
chatbot = gr.Chatbot(value=[], elem_id="chatbot")
|
104 |
with gr.Row():
|
105 |
with gr.Column(scale=0.70):
|