Spaces:
Running
Running
Aitron Emper
commited on
Commit
•
1ce1196
1
Parent(s):
533119d
Update tabs/inference/inference.py
Browse files- tabs/inference/inference.py +11 -12
tabs/inference/inference.py
CHANGED
@@ -241,19 +241,18 @@ def inference_tab():
|
|
241 |
|
242 |
# Single inference tab
|
243 |
with gr.Tab(i18n("Single")):
|
244 |
-
with gr.
|
245 |
-
|
246 |
-
|
247 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
248 |
)
|
249 |
-
with gr.Row():
|
250 |
-
audio = gr.Dropdown(
|
251 |
-
label=i18n("Select Audio"),
|
252 |
-
choices=sorted(audio_paths),
|
253 |
-
value=audio_paths[0] if audio_paths else "",
|
254 |
-
interactive=True,
|
255 |
-
allow_custom_value=True,
|
256 |
-
)
|
257 |
|
258 |
with gr.Accordion(i18n("Advanced Settings"), open=False):
|
259 |
with gr.Column():
|
|
|
241 |
|
242 |
# Single inference tab
|
243 |
with gr.Tab(i18n("Single")):
|
244 |
+
with gr.Column():
|
245 |
+
upload_audio = gr.Audio(
|
246 |
+
label=i18n("Upload Audio"), type="filepath", editable=False
|
247 |
+
)
|
248 |
+
with gr.Row():
|
249 |
+
audio = gr.Dropdown(
|
250 |
+
label=i18n("Select Audio"),
|
251 |
+
choices=sorted(audio_paths),
|
252 |
+
value=audio_paths[0] if audio_paths else "",
|
253 |
+
interactive=True,
|
254 |
+
allow_custom_value=True,
|
255 |
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
256 |
|
257 |
with gr.Accordion(i18n("Advanced Settings"), open=False):
|
258 |
with gr.Column():
|