Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -29,6 +29,6 @@ def video2Summarizer(link):
|
|
29 |
return summarized_text
|
30 |
|
31 |
|
32 |
-
|
33 |
|
34 |
iface.launch(inline = False)
|
|
|
29 |
return summarized_text
|
30 |
|
31 |
|
32 |
+
iface = gr.Interface(fn = video2Summarizer, inputs = 'text', outputs = gr.outputs.Textbox(label = "Summarized output"), title = 'Video To Text Summarizer', description = 'Just give the url of the YouTube video, then the app will give you the summarized format of the video in 5 to 10 Min, its based on the video length what you have given. Use this example and try to run the same example by clicking that',examples = [['https://www.youtube.com/watch?v=kEN2Omq9mwk']])
|
33 |
|
34 |
iface.launch(inline = False)
|