Update app.py
Browse files
app.py
CHANGED
@@ -66,7 +66,7 @@ with gr.Blocks(css=css) as demo:
|
|
66 |
gr.HTML(title)
|
67 |
|
68 |
with gr.Column():
|
69 |
-
pdf_doc = gr.File(label="Load a pdf", file_types=['.pdf'], type="
|
70 |
repo_id = gr.Dropdown(label="LLM", choices=["google/flan-ul2", "OpenAssistant/oasst-sft-1-pythia-12b", "bigscience/bloomz"], value="google/flan-ul2")
|
71 |
with gr.Row():
|
72 |
langchain_status = gr.Textbox(label="Status", placeholder="", interactive=False)
|
|
|
66 |
gr.HTML(title)
|
67 |
|
68 |
with gr.Column():
|
69 |
+
pdf_doc = gr.File(label="Load a pdf", file_types=['.pdf'], type="filepath")
|
70 |
repo_id = gr.Dropdown(label="LLM", choices=["google/flan-ul2", "OpenAssistant/oasst-sft-1-pythia-12b", "bigscience/bloomz"], value="google/flan-ul2")
|
71 |
with gr.Row():
|
72 |
langchain_status = gr.Textbox(label="Status", placeholder="", interactive=False)
|