Rams901 commited on
Commit
ae99a46
1 Parent(s): 854cff0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -4
app.py CHANGED
@@ -144,14 +144,11 @@ def qa_retrieve_yt(query,):
144
  def flush():
145
  return None
146
 
147
- examples = [
148
- ["Will Russia win the war in Ukraine?"],
149
 
150
- ]
151
 
152
  ref_art = gr.Interface(fn=qa_retrieve_art, label="Articles",
153
  inputs=gr.inputs.Textbox(lines=5, label="what would you like to learn about?"),
154
- outputs = gr.components.JSON(label="articles"), examples=examples)
155
  # ref_yt = gr.Interface(fn=qa_retrieve_yt, label="Youtube",
156
  # inputs=gr.inputs.Textbox(lines=5, label="what would you like to learn about?"),
157
  # outputs = gr.components.JSON(label="youtube"),title = "youtube", examples=examples)
 
144
  def flush():
145
  return None
146
 
 
 
147
 
 
148
 
149
  ref_art = gr.Interface(fn=qa_retrieve_art, label="Articles",
150
  inputs=gr.inputs.Textbox(lines=5, label="what would you like to learn about?"),
151
+ outputs = gr.components.JSON(label="articles"))
152
  # ref_yt = gr.Interface(fn=qa_retrieve_yt, label="Youtube",
153
  # inputs=gr.inputs.Textbox(lines=5, label="what would you like to learn about?"),
154
  # outputs = gr.components.JSON(label="youtube"),title = "youtube", examples=examples)