imorcillo commited on
Commit
ce0c093
·
verified ·
1 Parent(s): c733757

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -10
app.py CHANGED
@@ -146,15 +146,15 @@ with demo:
146
  inputs=[
147
  gr.Audio(sources="microphone", type="filepath"),
148
  gr.Dropdown(choices=[("English", "en"),
149
- ("Spanish", "es"),
150
- ("French", "fr"),
151
- ("Italian", "it"),
152
- ("Basque", "eu")],
153
  value="en")
154
  ],
155
  outputs=[
156
  gr.Textbox(label="Transcription", autoscroll=False),
157
- gr.Textbox(label="Speaker Identification", autoscroll=False)
158
  ],
159
  allow_flagging="never",
160
  )
@@ -165,15 +165,15 @@ with demo:
165
  inputs=[
166
  gr.Audio(sources="upload", type="filepath"),
167
  gr.Dropdown(choices=[("English", "en"),
168
- ("Spanish", "es"),
169
- ("French", "fr"),
170
- ("Italian", "it"),
171
- ("Basque", "eu")],
172
  value="en")
173
  ],
174
  outputs=[
175
  gr.Textbox(label="Transcription", autoscroll=False),
176
- gr.Textbox(label="Speaker Identification", autoscroll=False)
177
  ],
178
  allow_flagging="never",
179
  )
 
146
  inputs=[
147
  gr.Audio(sources="microphone", type="filepath"),
148
  gr.Dropdown(choices=[("English", "en"),
149
+ ("Euskara", "eu"),
150
+ ("Español", "es"),
151
+ ("Français", "fr"),
152
+ ("Italiano", "it")],
153
  value="en")
154
  ],
155
  outputs=[
156
  gr.Textbox(label="Transcription", autoscroll=False),
157
+ #gr.Textbox(label="Speaker Identification", autoscroll=False)
158
  ],
159
  allow_flagging="never",
160
  )
 
165
  inputs=[
166
  gr.Audio(sources="upload", type="filepath"),
167
  gr.Dropdown(choices=[("English", "en"),
168
+ ("Euskara", "eu"),
169
+ ("Español", "es"),
170
+ ("Français", "fr"),
171
+ ("Italiano", "it")],
172
  value="en")
173
  ],
174
  outputs=[
175
  gr.Textbox(label="Transcription", autoscroll=False),
176
+ #gr.Textbox(label="Speaker Identification", autoscroll=False)
177
  ],
178
  allow_flagging="never",
179
  )