Spaces:
Runtime error
Runtime error
updat app
#1
by alilotfi1389 - opened
app.py
CHANGED
|
@@ -38,7 +38,7 @@ with gr.Blocks(css=css,theme=gr.themes.Monochrome()) as demo:
|
|
| 38 |
gr.HTML(html)
|
| 39 |
with gr.Column():
|
| 40 |
gr.Markdown('ChatPDF')
|
| 41 |
-
pdf_doc = gr.File(label="Load a pdf",file_types=['.pdf','.docx'],type='
|
| 42 |
with gr.Row():
|
| 43 |
load_pdf = gr.Button('Load pdf file')
|
| 44 |
status = gr.Textbox(label="Status",placeholder='',interactive=False)
|
|
|
|
| 38 |
gr.HTML(html)
|
| 39 |
with gr.Column():
|
| 40 |
gr.Markdown('ChatPDF')
|
| 41 |
+
pdf_doc = gr.File(label="Load a pdf",file_types=['.pdf','.docx'],type='filepath')
|
| 42 |
with gr.Row():
|
| 43 |
load_pdf = gr.Button('Load pdf file')
|
| 44 |
status = gr.Textbox(label="Status",placeholder='',interactive=False)
|