Spaces:
Sleeping
Sleeping
yellowcandle
commited on
Commit
•
f8b77d4
1
Parent(s):
b99929d
added video upload
Browse files
app.py
CHANGED
@@ -68,7 +68,9 @@ with gr.Blocks() as demo:
|
|
68 |
""")
|
69 |
|
70 |
with gr.Row():
|
71 |
-
|
|
|
|
|
72 |
model_dropdown = gr.Dropdown(choices=["openai/whisper-large-v3", "alvanlii/whisper-small-cantonese"], value="openai/whisper-large-v3")
|
73 |
|
74 |
transcribe_button = gr.Button("Transcribe")
|
|
|
68 |
""")
|
69 |
|
70 |
with gr.Row():
|
71 |
+
with gr.Column():
|
72 |
+
audio = gr.Audio(sources="upload", type="filepath")
|
73 |
+
video = gr.Video(sources="upload", type="url")
|
74 |
model_dropdown = gr.Dropdown(choices=["openai/whisper-large-v3", "alvanlii/whisper-small-cantonese"], value="openai/whisper-large-v3")
|
75 |
|
76 |
transcribe_button = gr.Button("Transcribe")
|