Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -517,26 +517,22 @@ def create_demo():
|
|
517 |
type="filepath",
|
518 |
sources=["upload"],
|
519 |
height=400,
|
520 |
-
info="Use a clear, front-facing portrait photo for best results."
|
521 |
)
|
522 |
audio_input = gr.Audio(
|
523 |
label="π΅ Upload Audio",
|
524 |
type="filepath",
|
525 |
sources=["upload"],
|
526 |
-
info="Clear speech or singing without background noise works best."
|
527 |
)
|
528 |
|
529 |
with gr.Accordion("π Text Prompts", open=True):
|
530 |
prompt = gr.Textbox(
|
531 |
label="βοΈ Prompt",
|
532 |
value="A person talking naturally with clear expressions.",
|
533 |
-
info="Describe the desired animation. Can influence style and expression."
|
534 |
)
|
535 |
negative_prompt = gr.Textbox(
|
536 |
label="π« Negative Prompt",
|
537 |
value="Gesture is bad, unclear. Strange, twisted, bad, blurry hands and fingers.",
|
538 |
lines=2,
|
539 |
-
info="Describe what to avoid. Helps prevent artifacts."
|
540 |
)
|
541 |
|
542 |
with gr.Column(scale=1):
|
|
|
517 |
type="filepath",
|
518 |
sources=["upload"],
|
519 |
height=400,
|
|
|
520 |
)
|
521 |
audio_input = gr.Audio(
|
522 |
label="π΅ Upload Audio",
|
523 |
type="filepath",
|
524 |
sources=["upload"],
|
|
|
525 |
)
|
526 |
|
527 |
with gr.Accordion("π Text Prompts", open=True):
|
528 |
prompt = gr.Textbox(
|
529 |
label="βοΈ Prompt",
|
530 |
value="A person talking naturally with clear expressions.",
|
|
|
531 |
)
|
532 |
negative_prompt = gr.Textbox(
|
533 |
label="π« Negative Prompt",
|
534 |
value="Gesture is bad, unclear. Strange, twisted, bad, blurry hands and fingers.",
|
535 |
lines=2,
|
|
|
536 |
)
|
537 |
|
538 |
with gr.Column(scale=1):
|