Spaces:
Sleeping
Sleeping
Add type in audio
Browse files
app.py
CHANGED
@@ -47,7 +47,7 @@ def transcription(audio_stream, is_video = False):
|
|
47 |
demo = gr.Interface(
|
48 |
fn = transcription,
|
49 |
inputs = [
|
50 |
-
gr.Audio(label = "Upload Audio/Video"),
|
51 |
gr.Checkbox(label = "Is this a video file?")
|
52 |
],
|
53 |
outputs = gr.Textbox(label = "Transcription Output"),
|
|
|
47 |
demo = gr.Interface(
|
48 |
fn = transcription,
|
49 |
inputs = [
|
50 |
+
gr.Audio(label = "Upload Audio/Video", type="filepath"),
|
51 |
gr.Checkbox(label = "Is this a video file?")
|
52 |
],
|
53 |
outputs = gr.Textbox(label = "Transcription Output"),
|