Chandranshu Jain
commited on
Commit
•
e609d06
1
Parent(s):
cf6469d
Update app.py
Browse files
app.py
CHANGED
@@ -37,14 +37,16 @@ mic_transcribe = gr.Interface(
|
|
37 |
fn=transcribe_speech,
|
38 |
inputs=gr.Audio(sources="microphone",
|
39 |
type="filepath"),
|
40 |
-
outputs=
|
|
|
41 |
allow_flagging="never")
|
42 |
|
43 |
file_transcribe = gr.Interface(
|
44 |
fn=transcribe_speech,
|
45 |
inputs=gr.Audio(sources="upload",
|
46 |
type="filepath"),
|
47 |
-
outputs=
|
|
|
48 |
allow_flagging="never",
|
49 |
)
|
50 |
with demo:
|
|
|
37 |
fn=transcribe_speech,
|
38 |
inputs=gr.Audio(sources="microphone",
|
39 |
type="filepath"),
|
40 |
+
outputs="audio",
|
41 |
+
#outputs=gr.Audio(label="Translated Message"),
|
42 |
allow_flagging="never")
|
43 |
|
44 |
file_transcribe = gr.Interface(
|
45 |
fn=transcribe_speech,
|
46 |
inputs=gr.Audio(sources="upload",
|
47 |
type="filepath"),
|
48 |
+
outputs="audio",
|
49 |
+
#outputs=gr.Audio(label="Translated Message"),
|
50 |
allow_flagging="never",
|
51 |
)
|
52 |
with demo:
|