lelafav502 commited on
Commit
42e8713
1 Parent(s): b9a7813

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
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.Textbox(label="MaxChars"),
69
- gr.Textbox(label="MaxDuration"),
70
- gr.Textbox(label="MaxGap")],
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()