Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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 |
-
("
|
| 150 |
-
("
|
| 151 |
-
("
|
| 152 |
-
("
|
| 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 |
-
("
|
| 169 |
-
("
|
| 170 |
-
("
|
| 171 |
-
("
|
| 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 |
)
|