lekkalar commited on
Commit
babc213
1 Parent(s): 618da7e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
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")