Shreyas094 commited on
Commit
0eb6e86
1 Parent(s): 7df2145

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -317,7 +317,7 @@ with gr.Blocks() as demo:
317
 
318
  with gr.Row():
319
  file_input = gr.Files(label="Upload your PDF documents", file_types=[".pdf"])
320
- update_button = gr.Button("Update Vector Store")
321
 
322
  update_output = gr.Textbox(label="Update Status")
323
  update_button.click(update_vectors, inputs=[file_input], outputs=update_output)
@@ -325,7 +325,7 @@ with gr.Blocks() as demo:
325
  with gr.Row():
326
  with gr.Column(scale=2):
327
  chatbot = gr.Chatbot(label="Conversation")
328
- question_input = gr.Textbox(label="Ask a question about your documents or use web search")
329
  submit_button = gr.Button("Submit")
330
  with gr.Column(scale=1):
331
  temperature_slider = gr.Slider(label="Temperature", minimum=0.0, maximum=1.0, value=0.5, step=0.1)
 
317
 
318
  with gr.Row():
319
  file_input = gr.Files(label="Upload your PDF documents", file_types=[".pdf"])
320
+ update_button = gr.Button("Upload PDF)
321
 
322
  update_output = gr.Textbox(label="Update Status")
323
  update_button.click(update_vectors, inputs=[file_input], outputs=update_output)
 
325
  with gr.Row():
326
  with gr.Column(scale=2):
327
  chatbot = gr.Chatbot(label="Conversation")
328
+ question_input = gr.Textbox(label="Perplexity AI lite, enable web search to retrieve any web search results. Feel free to provide any feedbacks.")
329
  submit_button = gr.Button("Submit")
330
  with gr.Column(scale=1):
331
  temperature_slider = gr.Slider(label="Temperature", minimum=0.0, maximum=1.0, value=0.5, step=0.1)