rishabh5752 commited on
Commit
a61d0fd
1 Parent(s): f84ace7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -6
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.inputs.Textbox(label="URL 1")
55
- url2_input = gr.inputs.Textbox(label="URL 2")
56
- url3_input = gr.inputs.Textbox(label="URL 3")
57
- query_input = gr.inputs.Textbox(label="Question")
58
 
59
- output_text = gr.outputs.Textbox(label="Answer")
60
- output_sources = gr.outputs.Textbox(label="Sources")
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,