Rams901 commited on
Commit
0028070
1 Parent(s): f423f65

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -149,10 +149,10 @@ examples = [
149
 
150
  ref_art = gr.Interface(fn=qa_retrieve_art, label="Articles",
151
  inputs=gr.inputs.Textbox(lines=5, label="what would you like to learn about?"),
152
- outputs = gr.components.JSON(label="articles"), examples=examples)
153
- ref_yt = gr.Interface(fn=qa_retrieve_yt, label="Youtube",
154
- inputs=gr.inputs.Textbox(lines=5, label="what would you like to learn about?"),
155
- outputs = gr.components.JSON(label="youtube"),title = "youtube", examples=examples)
156
  demo = gr.Parallel( ref_art,)
157
 
158
  demo.launch()
 
149
 
150
  ref_art = gr.Interface(fn=qa_retrieve_art, label="Articles",
151
  inputs=gr.inputs.Textbox(lines=5, label="what would you like to learn about?"),
152
+ # outputs = gr.components.JSON(label="articles"), examples=examples)
153
+ # ref_yt = gr.Interface(fn=qa_retrieve_yt, label="Youtube",
154
+ # inputs=gr.inputs.Textbox(lines=5, label="what would you like to learn about?"),
155
+ # outputs = gr.components.JSON(label="youtube"),title = "youtube", examples=examples)
156
  demo = gr.Parallel( ref_art,)
157
 
158
  demo.launch()