Spaces:
Running on Zero
Running on Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -1296,12 +1296,14 @@ def _build_demo(
|
|
| 1296 |
|
| 1297 |
with gr.Row():
|
| 1298 |
with gr.Column():
|
| 1299 |
-
user_text = gr.Textbox(label="User Text(optional)", lines=2)
|
| 1300 |
assistant_text = gr.Textbox(label="Assistant Text", lines=6)
|
| 1301 |
prompt_audio = gr.Audio(label="Prompt WAV (optional)", type="filepath")
|
| 1302 |
-
|
| 1303 |
-
|
| 1304 |
-
|
|
|
|
|
|
|
|
|
|
| 1305 |
|
| 1306 |
with gr.Accordion("Generation Options", open=False):
|
| 1307 |
temperature = gr.Slider(0.1, 1.5, value=0.8, step=0.05, label="Temperature")
|
|
|
|
| 1296 |
|
| 1297 |
with gr.Row():
|
| 1298 |
with gr.Column():
|
|
|
|
| 1299 |
assistant_text = gr.Textbox(label="Assistant Text", lines=6)
|
| 1300 |
prompt_audio = gr.Audio(label="Prompt WAV (optional)", type="filepath")
|
| 1301 |
+
|
| 1302 |
+
with gr.Accordion("User Input Options", open=False):
|
| 1303 |
+
user_text = gr.Textbox(label="User Text(optional)", lines=2)
|
| 1304 |
+
user_audio = gr.Audio(label="User WAV (optional)", type="filepath")
|
| 1305 |
+
use_default_prompt = gr.Checkbox(label="Use Default Prompt WAV (fallback)", value=False)
|
| 1306 |
+
use_default_user = gr.Checkbox(label="Use Default User WAV (fallback)", value=False)
|
| 1307 |
|
| 1308 |
with gr.Accordion("Generation Options", open=False):
|
| 1309 |
temperature = gr.Slider(0.1, 1.5, value=0.8, step=0.05, label="Temperature")
|