Spaces:
Runtime error
Runtime error
owaiskha9654
commited on
Commit
·
44be9a0
1
Parent(s):
bf4e114
Update app.py
Browse files
app.py
CHANGED
@@ -42,7 +42,7 @@ text1 = (
|
|
42 |
"<center> Model Used : Meta/Facebook's <b>distilbart-cnn-12-6</b> Documentation <a href=\"https://huggingface.co/docs/transformers/model_doc/bart#bart/\">Link</a><br></center>"
|
43 |
"<center> Kaggle Profile <a href=\"https://www.kaggle.com/owaiskhan9654\">Link</a> <br> </center>"
|
44 |
)
|
45 |
-
description = "Get
|
46 |
-
Youtube_Video_Link = gr.Textbox("Input
|
47 |
App= gr.Interface(fn=summarize, inputs=Youtube_Video_Link, outputs="text", examples=examples,description=description, title=title,article=text1)
|
48 |
App.launch()
|
|
|
42 |
"<center> Model Used : Meta/Facebook's <b>distilbart-cnn-12-6</b> Documentation <a href=\"https://huggingface.co/docs/transformers/model_doc/bart#bart/\">Link</a><br></center>"
|
43 |
"<center> Kaggle Profile <a href=\"https://www.kaggle.com/owaiskhan9654\">Link</a> <br> </center>"
|
44 |
)
|
45 |
+
description = "Get YouTube Video Summarization. Just Enter the YouTube Video link below. Make sure Video has Captions and it is not very long as Model Computation time will Increase."
|
46 |
+
Youtube_Video_Link = gr.Textbox("Input YouTube Link here (Note: This will take time if passed a long video)", show_label=False)
|
47 |
App= gr.Interface(fn=summarize, inputs=Youtube_Video_Link, outputs="text", examples=examples,description=description, title=title,article=text1)
|
48 |
App.launch()
|