Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -73,6 +73,8 @@ with gr.Blocks(css=css,theme=gr.themes.Monochrome()) as demo:
|
|
73 |
with gr.Row():
|
74 |
status = gr.Textbox(label="Status", placeholder="", interactive=False)
|
75 |
load_pdf = gr.Button("Load PDF to LangChain")
|
|
|
|
|
76 |
with gr.Row():
|
77 |
input = gr.Textbox(label="Type in your question")
|
78 |
output = gr.Textbox(label="Answer")
|
|
|
73 |
with gr.Row():
|
74 |
status = gr.Textbox(label="Status", placeholder="", interactive=False)
|
75 |
load_pdf = gr.Button("Load PDF to LangChain")
|
76 |
+
with gr.Row():
|
77 |
+
document_type = gr.Radio(['DOT', 'TRANSMITTAL SUMMARY'], label="PDF is of type:")
|
78 |
with gr.Row():
|
79 |
input = gr.Textbox(label="Type in your question")
|
80 |
output = gr.Textbox(label="Answer")
|