Spaces:
Sleeping
Sleeping
Commit
·
738bf68
1
Parent(s):
82d5b80
prints language selected and the transcribed text in english
Browse files
app.py
CHANGED
@@ -61,7 +61,6 @@ gr.Interface(
|
|
61 |
fn=predict,
|
62 |
inputs=[
|
63 |
gr.Audio(label="Upload Speech", source="upload", type="filepath"),
|
64 |
-
gr.Audio(label="Record Speech", source="microphone", type="filepath"),
|
65 |
gr.inputs.Dropdown(['English Text',
|
66 |
'German Text',
|
67 |
'Greek Text',
|
@@ -74,7 +73,8 @@ gr.Interface(
|
|
74 |
'Polish Text',
|
75 |
'Portuguese Text',
|
76 |
'Italian Text',
|
77 |
-
'Detect Language'], type="value", default='English Text', label="Select the Language of the that you are speaking in.")
|
|
|
78 |
],
|
79 |
outputs=[
|
80 |
gr.Text(label="Transcription"),
|
|
|
61 |
fn=predict,
|
62 |
inputs=[
|
63 |
gr.Audio(label="Upload Speech", source="upload", type="filepath"),
|
|
|
64 |
gr.inputs.Dropdown(['English Text',
|
65 |
'German Text',
|
66 |
'Greek Text',
|
|
|
73 |
'Polish Text',
|
74 |
'Portuguese Text',
|
75 |
'Italian Text',
|
76 |
+
'Detect Language'], type="value", default='English Text', label="Select the Language of the that you are speaking in."),
|
77 |
+
gr.Audio(label="Record Speech", source="microphone", type="filepath"),
|
78 |
],
|
79 |
outputs=[
|
80 |
gr.Text(label="Transcription"),
|