lekkalar commited on
Commit
c575982
1 Parent(s): 7800652

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -115,7 +115,7 @@ with gr.Blocks(css=css,theme=gr.themes.Monochrome()) as demo:
115
 
116
  with gr.Row():
117
  status = gr.Textbox(label="Status", placeholder="", interactive=False)
118
- load_pdf = gr.Button(label="Load the PDF").style(full_width=False)
119
 
120
  with gr.Row():
121
  document_type = gr.Radio(['Deed of Trust', 'Transmittal Summary'], label="Select the Document Type")
@@ -125,7 +125,7 @@ with gr.Blocks(css=css,theme=gr.themes.Monochrome()) as demo:
125
  with gr.Row():
126
  input = gr.Textbox(label="Type in your question")
127
  output = gr.Textbox(label="Answer")
128
- submit_query = gr.Button(label="Submit your own question").style(full_width=False)
129
 
130
 
131
  load_pdf.click(load_pdf_and_generate_embeddings, inputs=[pdf_doc, openai_key], outputs=status)
 
115
 
116
  with gr.Row():
117
  status = gr.Textbox(label="Status", placeholder="", interactive=False)
118
+ load_pdf = gr.Button("Please upload your PDF").style(full_width=False)
119
 
120
  with gr.Row():
121
  document_type = gr.Radio(['Deed of Trust', 'Transmittal Summary'], label="Select the Document Type")
 
125
  with gr.Row():
126
  input = gr.Textbox(label="Type in your question")
127
  output = gr.Textbox(label="Answer")
128
+ submit_query = gr.Button("Submit your own question to gpt-4").style(full_width=False)
129
 
130
 
131
  load_pdf.click(load_pdf_and_generate_embeddings, inputs=[pdf_doc, openai_key], outputs=status)