Spaces:
Running on Zero
Running on Zero
fix duration callable signature; gradio6 theme
Browse files
app.py
CHANGED
|
@@ -257,6 +257,8 @@ def _estimate_duration(
|
|
| 257 |
prompt=DEFAULT_PROMPT,
|
| 258 |
sigma_shift=5.0,
|
| 259 |
show_pose=False,
|
|
|
|
|
|
|
| 260 |
):
|
| 261 |
chunks = int(num_chunks or 1)
|
| 262 |
steps = int(num_inference_steps or 20)
|
|
@@ -418,7 +420,7 @@ NOTE = """
|
|
| 418 |
> image** and keep a provided pair to see the model transfer that motion onto your character.
|
| 419 |
"""
|
| 420 |
|
| 421 |
-
with gr.Blocks(
|
| 422 |
gr.Markdown(DESCRIPTION)
|
| 423 |
|
| 424 |
with gr.Row():
|
|
@@ -483,4 +485,4 @@ with gr.Blocks(theme=gr.themes.Citrus(), title="EverAnimate") as demo:
|
|
| 483 |
)
|
| 484 |
|
| 485 |
if __name__ == "__main__":
|
| 486 |
-
demo.queue().launch(mcp_server=True, show_error=True)
|
|
|
|
| 257 |
prompt=DEFAULT_PROMPT,
|
| 258 |
sigma_shift=5.0,
|
| 259 |
show_pose=False,
|
| 260 |
+
*args,
|
| 261 |
+
**kwargs,
|
| 262 |
):
|
| 263 |
chunks = int(num_chunks or 1)
|
| 264 |
steps = int(num_inference_steps or 20)
|
|
|
|
| 420 |
> image** and keep a provided pair to see the model transfer that motion onto your character.
|
| 421 |
"""
|
| 422 |
|
| 423 |
+
with gr.Blocks(title="EverAnimate") as demo:
|
| 424 |
gr.Markdown(DESCRIPTION)
|
| 425 |
|
| 426 |
with gr.Row():
|
|
|
|
| 485 |
)
|
| 486 |
|
| 487 |
if __name__ == "__main__":
|
| 488 |
+
demo.queue().launch(theme=gr.themes.Citrus(), mcp_server=True, show_error=True)
|