Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -110,12 +110,13 @@ with gr.Blocks() as demo:
|
|
110 |
label="Text to synthesize (max chars 300)",
|
111 |
max_lines=5
|
112 |
)
|
113 |
-
ref_wav = gr.Audio
|
114 |
-
|
115 |
-
|
116 |
-
|
117 |
-
|
118 |
-
|
|
|
119 |
exaggeration = gr.Slider(
|
120 |
0.25, 2, step=.05, label="Exaggeration (Neutral = 0.5, extreme values can be unstable)", value=.5
|
121 |
)
|
|
|
110 |
label="Text to synthesize (max chars 300)",
|
111 |
max_lines=5
|
112 |
)
|
113 |
+
ref_wav = gr.TextBox(value=None,label="Audio Source Path")
|
114 |
+
# ref_wav = gr.Audio(
|
115 |
+
# sources=["upload", "microphone"],
|
116 |
+
# type="filepath",
|
117 |
+
# label="Reference Audio File (Optional)",
|
118 |
+
# value="https://storage.googleapis.com/chatterbox-demo-samples/prompts/female_shadowheart4.flac"
|
119 |
+
# )
|
120 |
exaggeration = gr.Slider(
|
121 |
0.25, 2, step=.05, label="Exaggeration (Neutral = 0.5, extreme values can be unstable)", value=.5
|
122 |
)
|