Update app.py
Browse files
app.py
CHANGED
@@ -33,7 +33,7 @@ with gr.Blocks(css=css,theme=gr.themes.Monochrome()) as demo:
|
|
33 |
gr.HTML(html)
|
34 |
with gr.Column():
|
35 |
gr.Markdown('ChatPDF')
|
36 |
-
pdf_doc = gr.File(label="Load a pdf",file_types=['.pdf','.docx'],type='
|
37 |
with gr.Row():
|
38 |
load_pdf = gr.Button('Load pdf file')
|
39 |
status = gr.Textbox(label="Status",placeholder='',interactive=False)
|
|
|
33 |
gr.HTML(html)
|
34 |
with gr.Column():
|
35 |
gr.Markdown('ChatPDF')
|
36 |
+
pdf_doc = gr.File(label="Load a pdf",file_types=['.pdf','.docx'],type='filepath')
|
37 |
with gr.Row():
|
38 |
load_pdf = gr.Button('Load pdf file')
|
39 |
status = gr.Textbox(label="Status",placeholder='',interactive=False)
|