Spaces:
Runtime error
Runtime error
lelafav502
commited on
Commit
•
42e8713
1
Parent(s):
b9a7813
Update app.py
Browse files
app.py
CHANGED
@@ -65,9 +65,9 @@ def audio_transcription(audiofile, max_chars, max_duration, max_gap):
|
|
65 |
|
66 |
iface = gr.Interface(audio_transcription,
|
67 |
[gr.Audio(sources="upload", type="filepath"),
|
68 |
-
gr.
|
69 |
-
gr.
|
70 |
-
gr.
|
71 |
"text",
|
72 |
description="Upload an audio file and get its transcription in JSON format.")
|
73 |
iface.launch()
|
|
|
65 |
|
66 |
iface = gr.Interface(audio_transcription,
|
67 |
[gr.Audio(sources="upload", type="filepath"),
|
68 |
+
gr.Number(label="MaxChars"),
|
69 |
+
gr.Number(label="MaxDuration"),
|
70 |
+
gr.Number(label="MaxGap")],
|
71 |
"text",
|
72 |
description="Upload an audio file and get its transcription in JSON format.")
|
73 |
iface.launch()
|