LaoCzi commited on
Commit
38dd7d1
1 Parent(s): 4d7b78f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -4
app.py CHANGED
@@ -87,9 +87,6 @@ def generate(video_url, question):
87
  return response["answer"]
88
  #======================================
89
 
90
- examples = [['https://www.youtube.com/watch?v=u_P8md6brDI'],
91
- ['https://www.youtube.com/watch?v=ao_OZ_bzMP8']
92
- ]
93
 
94
  title = "YouTube Summorize (only english video < 15 min)"
95
  demo = gr.Interface(fn=generate, css=".gradio-container {background-color: lightblue}",
@@ -98,5 +95,5 @@ demo = gr.Interface(fn=generate, css=".gradio-container {background-color: light
98
  gr.Textbox(lines=1, label="Question", value="What is this video about?"),
99
  ],
100
  outputs=[gr.Textbox(lines=4, label="Ответ:")],
101
- title = title, examples = examples)
102
  demo.launch(share=False, debug=True)
 
87
  return response["answer"]
88
  #======================================
89
 
 
 
 
90
 
91
  title = "YouTube Summorize (only english video < 15 min)"
92
  demo = gr.Interface(fn=generate, css=".gradio-container {background-color: lightblue}",
 
95
  gr.Textbox(lines=1, label="Question", value="What is this video about?"),
96
  ],
97
  outputs=[gr.Textbox(lines=4, label="Ответ:")],
98
+ title = title)
99
  demo.launch(share=False, debug=True)