Spaces:
Runtime error
Runtime error
fixes
Browse files- app.py +2 -2
- requirements.txt +2 -1
app.py
CHANGED
@@ -15,10 +15,10 @@ def transcribe(url):
|
|
15 |
|
16 |
iface = gr.Interface(
|
17 |
fn=transcribe,
|
18 |
-
inputs=gr.Textbox(label="Enter
|
19 |
outputs="text",
|
20 |
title="Whisper Small SE",
|
21 |
-
description="
|
22 |
)
|
23 |
|
24 |
iface.launch()
|
|
|
15 |
|
16 |
iface = gr.Interface(
|
17 |
fn=transcribe,
|
18 |
+
inputs=gr.Textbox(label="Enter a YouTube URL:"),
|
19 |
outputs="text",
|
20 |
title="Whisper Small SE",
|
21 |
+
description="Transcribe and translate videos",
|
22 |
)
|
23 |
|
24 |
iface.launch()
|
requirements.txt
CHANGED
@@ -1,2 +1,3 @@
|
|
1 |
transformers
|
2 |
-
pytube
|
|
|
|
1 |
transformers
|
2 |
+
pytube
|
3 |
+
torch
|