Spaces:
Sleeping
Sleeping
hubsnippetai
commited on
Commit
•
e2244b0
1
Parent(s):
a93e5a6
Update app.py
Browse files
app.py
CHANGED
@@ -28,5 +28,4 @@ def audio2text(audio_file):
|
|
28 |
output=pipe(audio_file)
|
29 |
return output['text']
|
30 |
|
31 |
-
|
32 |
-
gr.Interface(fn=audio2text, inputs=[gr.Audio, label='upload your audio file', source='upload', type='filepath'], outputs=[gr.Textbox, label="transcription"]).launch()
|
|
|
28 |
output=pipe(audio_file)
|
29 |
return output['text']
|
30 |
|
31 |
+
gr.Interface(fn=audio2text, inputs=[gr.Audio(label='upload your audio file', sources='upload', type='filepath')], outputs=[gr.Textbox, label="transcription"]).launch()
|
|