Update app.py
Browse files
app.py
CHANGED
@@ -86,7 +86,7 @@ with gr.Blocks(css=css) as demo:
|
|
86 |
|
87 |
with gr.Column():
|
88 |
openai_key = gr.Textbox(label="You OpenAI API key", type="password")
|
89 |
-
pdf_doc = gr.File(label="Load a pdf", file_types=['.pdf'], type="
|
90 |
with gr.Row():
|
91 |
langchain_status = gr.Textbox(label="Status", placeholder="", interactive=False)
|
92 |
load_pdf = gr.Button("Load pdf to langchain")
|
|
|
86 |
|
87 |
with gr.Column():
|
88 |
openai_key = gr.Textbox(label="You OpenAI API key", type="password")
|
89 |
+
pdf_doc = gr.File(label="Load a pdf", file_types=['.pdf'], type="filepath")
|
90 |
with gr.Row():
|
91 |
langchain_status = gr.Textbox(label="Status", placeholder="", interactive=False)
|
92 |
load_pdf = gr.Button("Load pdf to langchain")
|