Spaces:
Runtime error
Runtime error
storresbusquets
commited on
Commit
•
e44d2cc
1
Parent(s):
47a4414
Update app.py
Browse files
app.py
CHANGED
@@ -203,7 +203,7 @@ class GradioInference:
|
|
203 |
|
204 |
# Perform summarization on the transcription
|
205 |
transcription_summary = self.summarizer(
|
206 |
-
results["text"], max_length=150, min_length=30, do_sample=False
|
207 |
)
|
208 |
|
209 |
#### Resumen multilingue
|
@@ -396,7 +396,7 @@ with block as demo:
|
|
396 |
|
397 |
with block:
|
398 |
gr.Markdown("### Video Examples")
|
399 |
-
gr.Examples(["https://www.youtube.com/shorts/xDNzz8yAH7I","https://www.youtube.com/watch?v=
|
400 |
|
401 |
gr.Markdown("### Audio Examples")
|
402 |
# gr.Examples(
|
|
|
203 |
|
204 |
# Perform summarization on the transcription
|
205 |
transcription_summary = self.summarizer(
|
206 |
+
results["text"], max_length=150, min_length=30, do_sample=False, truncation=True
|
207 |
)
|
208 |
|
209 |
#### Resumen multilingue
|
|
|
396 |
|
397 |
with block:
|
398 |
gr.Markdown("### Video Examples")
|
399 |
+
gr.Examples(["https://www.youtube.com/shorts/xDNzz8yAH7I","https://www.youtube.com/watch?v=MnrJzXM7a6o&pp=ygURc3RldmUgam9icyBzcGVlY2g%3D"], inputs=link)
|
400 |
|
401 |
gr.Markdown("### Audio Examples")
|
402 |
# gr.Examples(
|