lelafav502 commited on
Commit
8bb68f4
·
verified ·
1 Parent(s): 9a0c2a0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -68,7 +68,7 @@ def audio_transcription(audiofile):
68
  return json.dumps(transcription, indent=4)
69
 
70
  iface = gr.Interface(audio_transcription,
71
- gr.Audio(sources="upload", type="file"),
72
  "text",
73
  description="Upload an audio file and get its transcription in JSON format.")
74
  iface.launch()
 
68
  return json.dumps(transcription, indent=4)
69
 
70
  iface = gr.Interface(audio_transcription,
71
+ gr.Audio(sources="upload", type="filepath"),
72
  "text",
73
  description="Upload an audio file and get its transcription in JSON format.")
74
  iface.launch()