Spaces:
Running
Running
Niki Zhang
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -1413,7 +1413,7 @@ def create_ui():
|
|
1413 |
input_text = gr.Textbox(label="Text Prompt", value="Hello, World !, here is an example of light voice cloning. Try to upload your best audio samples quality")
|
1414 |
input_language = gr.Dropdown(label="Language", choices=["en", "es", "fr", "de", "it", "pt", "pl", "tr", "ru", "nl", "cs", "ar", "zh-cn"], value="en")
|
1415 |
input_audio = gr.Audio(label="Reference Audio", type="filepath", value="examples/female.wav")
|
1416 |
-
input_mic = gr.Audio(
|
1417 |
use_mic = gr.Checkbox(label="Check to use Microphone as Reference", value=False)
|
1418 |
agree = gr.Checkbox(label="Agree", value=True)
|
1419 |
output_waveform = gr.Video(label="Waveform Visual")
|
@@ -1507,6 +1507,7 @@ def create_ui():
|
|
1507 |
with gr.Column():
|
1508 |
result = gr.Gallery(
|
1509 |
label="Result",
|
|
|
1510 |
columns=4
|
1511 |
# columns=4,
|
1512 |
# rows=2,
|
|
|
1413 |
input_text = gr.Textbox(label="Text Prompt", value="Hello, World !, here is an example of light voice cloning. Try to upload your best audio samples quality")
|
1414 |
input_language = gr.Dropdown(label="Language", choices=["en", "es", "fr", "de", "it", "pt", "pl", "tr", "ru", "nl", "cs", "ar", "zh-cn"], value="en")
|
1415 |
input_audio = gr.Audio(label="Reference Audio", type="filepath", value="examples/female.wav")
|
1416 |
+
input_mic = gr.Audio(sources="microphone", type="filepath", label="Use Microphone for Reference")
|
1417 |
use_mic = gr.Checkbox(label="Check to use Microphone as Reference", value=False)
|
1418 |
agree = gr.Checkbox(label="Agree", value=True)
|
1419 |
output_waveform = gr.Video(label="Waveform Visual")
|
|
|
1507 |
with gr.Column():
|
1508 |
result = gr.Gallery(
|
1509 |
label="Result",
|
1510 |
+
height="auto",
|
1511 |
columns=4
|
1512 |
# columns=4,
|
1513 |
# rows=2,
|