Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -28,6 +28,9 @@ MODEL_NAME = "openai/whisper-large-v2"
|
|
28 |
|
29 |
demo = gr.Blocks()
|
30 |
|
|
|
|
|
|
|
31 |
|
32 |
|
33 |
yt_transcribe = gr.Interface(
|
@@ -47,6 +50,7 @@ yt_transcribe = gr.Interface(
|
|
47 |
" arbitrary length."
|
48 |
),
|
49 |
allow_flagging="never",
|
|
|
50 |
)
|
51 |
|
52 |
with demo:
|
|
|
28 |
|
29 |
demo = gr.Blocks()
|
30 |
|
31 |
+
EXAMPLES = [
|
32 |
+
("https://www.youtube.com/watch?v=H1YoNlz2LxA", "translate"),
|
33 |
+
]
|
34 |
|
35 |
|
36 |
yt_transcribe = gr.Interface(
|
|
|
50 |
" arbitrary length."
|
51 |
),
|
52 |
allow_flagging="never",
|
53 |
+
examples=EXAMPLES
|
54 |
)
|
55 |
|
56 |
with demo:
|