Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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("
|
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="
|
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)
|