Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -340,7 +340,6 @@ img[src*='#center'] {
|
|
340 |
.dark .footer>p {
|
341 |
background: #0b0f19;
|
342 |
}
|
343 |
-
|
344 |
.disclaimer {
|
345 |
text-align: left;
|
346 |
}
|
@@ -359,7 +358,6 @@ with gr.Blocks(css=css) as demo:
|
|
359 |
Upload a clean 20 seconds WAV file of the vocal persona you want to mimic, <br />
|
360 |
type your text-to-speech prompt and hit submit ! <br />
|
361 |
</p>
|
362 |
-
|
363 |
[![Duplicate this Space](https://huggingface.co/datasets/huggingface/badges/raw/main/duplicate-this-space-sm.svg#center)](https://huggingface.co/spaces/fffiloni/instant-TTS-Bark-cloning?duplicate=true)
|
364 |
|
365 |
""")
|
@@ -372,26 +370,17 @@ with gr.Blocks(css=css) as demo:
|
|
372 |
elem_id = "tts-prompt"
|
373 |
)
|
374 |
|
375 |
-
|
376 |
-
|
377 |
-
|
378 |
-
|
379 |
-
|
380 |
-
|
381 |
-
|
382 |
-
|
383 |
-
|
384 |
-
|
385 |
-
|
386 |
-
audio_in = gr.Audio(
|
387 |
-
label="WAV voice to clone",
|
388 |
-
type="filepath",
|
389 |
-
source="upload",
|
390 |
-
interactive = False
|
391 |
-
)
|
392 |
-
clean_sample = gr.Checkbox(label="Clean sample ?", value=False)
|
393 |
-
hidden_audio_numpy = gr.Audio(type="numpy", visible=False)
|
394 |
-
submit_btn = gr.Button("Submit")
|
395 |
|
396 |
with gr.Tab("Microphone"):
|
397 |
texts_samples = gr.Textbox(label = "Helpers",
|
@@ -588,4 +577,4 @@ with gr.Blocks(css=css) as demo:
|
|
588 |
]
|
589 |
)
|
590 |
|
591 |
-
demo.queue(api_open=False, max_size=10).launch()
|
|
|
340 |
.dark .footer>p {
|
341 |
background: #0b0f19;
|
342 |
}
|
|
|
343 |
.disclaimer {
|
344 |
text-align: left;
|
345 |
}
|
|
|
358 |
Upload a clean 20 seconds WAV file of the vocal persona you want to mimic, <br />
|
359 |
type your text-to-speech prompt and hit submit ! <br />
|
360 |
</p>
|
|
|
361 |
[![Duplicate this Space](https://huggingface.co/datasets/huggingface/badges/raw/main/duplicate-this-space-sm.svg#center)](https://huggingface.co/spaces/fffiloni/instant-TTS-Bark-cloning?duplicate=true)
|
362 |
|
363 |
""")
|
|
|
370 |
elem_id = "tts-prompt"
|
371 |
)
|
372 |
|
373 |
+
|
374 |
+
with gr.Column():
|
375 |
+
audio_in = gr.Audio(
|
376 |
+
label="WAV voice to clone",
|
377 |
+
type="filepath",
|
378 |
+
source="upload",
|
379 |
+
interactive = False
|
380 |
+
)
|
381 |
+
clean_sample = gr.Checkbox(label="Clean sample ?", value=False)
|
382 |
+
hidden_audio_numpy = gr.Audio(type="numpy", visible=False)
|
383 |
+
submit_btn = gr.Button("Submit")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
384 |
|
385 |
with gr.Tab("Microphone"):
|
386 |
texts_samples = gr.Textbox(label = "Helpers",
|
|
|
577 |
]
|
578 |
)
|
579 |
|
580 |
+
demo.queue(api_open=False, max_size=10).launch()
|