Spaces:
Runtime error
Runtime error
Commit
·
240451c
1
Parent(s):
8743f2e
Update app.py
Browse files
app.py
CHANGED
@@ -26,9 +26,7 @@ def Processing(url,model,lang):
|
|
26 |
interface=gr.Interface(fn=Processing,inputs=[gr.components.Textbox(placeholder="Enter YouTube Video Link",label="YouTube Video Link"),gr.components.Radio(["NLP","BART"],type="value",label="Select any one Summary Model"),gr.components.Radio(["Urdu","German","Hindi"],type="value",label="Select any one Language")],
|
27 |
outputs=[gr.components.Textbox(label="Summary in English"),gr.components.Textbox(label="Summary in English")],
|
28 |
examples=[
|
29 |
-
["https://www.youtube.com/watch?v=ZSt9tm3RoUU"],
|
30 |
-
["BART"],
|
31 |
-
["Urdu"],
|
32 |
]
|
33 |
)
|
34 |
interface.launch(debug=True)
|
|
|
26 |
interface=gr.Interface(fn=Processing,inputs=[gr.components.Textbox(placeholder="Enter YouTube Video Link",label="YouTube Video Link"),gr.components.Radio(["NLP","BART"],type="value",label="Select any one Summary Model"),gr.components.Radio(["Urdu","German","Hindi"],type="value",label="Select any one Language")],
|
27 |
outputs=[gr.components.Textbox(label="Summary in English"),gr.components.Textbox(label="Summary in English")],
|
28 |
examples=[
|
29 |
+
["https://www.youtube.com/watch?v=ZSt9tm3RoUU","BART","Urdu"],
|
|
|
|
|
30 |
]
|
31 |
)
|
32 |
interface.launch(debug=True)
|