Update app.py
Browse files
app.py
CHANGED
@@ -352,7 +352,7 @@ with gr.Blocks(theme=gr.themes.Soft(), css=".gradio-container {max-width: 960px
|
|
352 |
emotion_dropdown = gr.Dropdown(
|
353 |
label="Emotion",
|
354 |
choices=list(emo_map.values()),
|
355 |
-
value="
|
356 |
info="Select an emotion for more natural facial expressions"
|
357 |
)
|
358 |
|
@@ -362,7 +362,7 @@ with gr.Blocks(theme=gr.themes.Soft(), css=".gradio-container {max-width: 960px
|
|
362 |
minimum=0.5,
|
363 |
maximum=5.0,
|
364 |
step=0.1,
|
365 |
-
value=
|
366 |
info="Lower values produce smoother but less controlled motion"
|
367 |
)
|
368 |
|
@@ -371,7 +371,7 @@ with gr.Blocks(theme=gr.themes.Soft(), css=".gradio-container {max-width: 960px
|
|
371 |
with gr.Row():
|
372 |
smooth_checkbox = gr.Checkbox(
|
373 |
label="Enable Smoothing (Experimental)",
|
374 |
-
value=
|
375 |
info="May cause errors on some systems. If errors occur, disable this option."
|
376 |
)
|
377 |
|
@@ -381,7 +381,7 @@ with gr.Blocks(theme=gr.themes.Soft(), css=".gradio-container {max-width: 960px
|
|
381 |
minimum=24,
|
382 |
maximum=60,
|
383 |
step=6,
|
384 |
-
value=
|
385 |
info="Higher FPS for smoother motion (uses frame interpolation)"
|
386 |
)
|
387 |
|
|
|
352 |
emotion_dropdown = gr.Dropdown(
|
353 |
label="Emotion",
|
354 |
choices=list(emo_map.values()),
|
355 |
+
value="Neutral",
|
356 |
info="Select an emotion for more natural facial expressions"
|
357 |
)
|
358 |
|
|
|
362 |
minimum=0.5,
|
363 |
maximum=5.0,
|
364 |
step=0.1,
|
365 |
+
value=0.5,
|
366 |
info="Lower values produce smoother but less controlled motion"
|
367 |
)
|
368 |
|
|
|
371 |
with gr.Row():
|
372 |
smooth_checkbox = gr.Checkbox(
|
373 |
label="Enable Smoothing (Experimental)",
|
374 |
+
value=True, # Changed to False due to CUDA issues
|
375 |
info="May cause errors on some systems. If errors occur, disable this option."
|
376 |
)
|
377 |
|
|
|
381 |
minimum=24,
|
382 |
maximum=60,
|
383 |
step=6,
|
384 |
+
value=60,
|
385 |
info="Higher FPS for smoother motion (uses frame interpolation)"
|
386 |
)
|
387 |
|