Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -51,13 +51,13 @@ def process_and_query(url1, url2, url3, query):
|
|
| 51 |
return answer, sources_list
|
| 52 |
|
| 53 |
# Define the Gradio interface
|
| 54 |
-
url1_input = gr.
|
| 55 |
-
url2_input = gr.
|
| 56 |
-
url3_input = gr.
|
| 57 |
-
query_input = gr.
|
| 58 |
|
| 59 |
-
output_text = gr.
|
| 60 |
-
output_sources = gr.
|
| 61 |
|
| 62 |
interface = gr.Interface(
|
| 63 |
fn=process_and_query,
|
|
|
|
| 51 |
return answer, sources_list
|
| 52 |
|
| 53 |
# Define the Gradio interface
|
| 54 |
+
url1_input = gr.Textbox(label="URL 1")
|
| 55 |
+
url2_input = gr.Textbox(label="URL 2")
|
| 56 |
+
url3_input = gr.Textbox(label="URL 3")
|
| 57 |
+
query_input = gr.Textbox(label="Question")
|
| 58 |
|
| 59 |
+
output_text = gr.Textbox(label="Answer")
|
| 60 |
+
output_sources = gr.Textbox(label="Sources")
|
| 61 |
|
| 62 |
interface = gr.Interface(
|
| 63 |
fn=process_and_query,
|