Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -236,7 +236,7 @@ with gr.Blocks() as demo:
|
|
| 236 |
with gr.Row():
|
| 237 |
with gr.Column():
|
| 238 |
input_image_component = gr.Image(type="pil", label="Input Image")
|
| 239 |
-
prompt_input = gr.Textbox(label="Prompt", value=default_prompt_i2v)
|
| 240 |
duration_seconds_input = gr.Slider(minimum=MIN_DURATION, maximum=MAX_DURATION, step=0.1, value=3.5, label="Duration (seconds)", info=f"Clamped to model's {MIN_FRAMES_MODEL}-{MAX_FRAMES_MODEL} frames at {FIXED_FPS}fps.")
|
| 241 |
|
| 242 |
with gr.Accordion("Advanced Settings", open=False):
|
|
@@ -281,7 +281,7 @@ with gr.Blocks() as demo:
|
|
| 281 |
|
| 282 |
|
| 283 |
css = '''
|
| 284 |
-
.gradio-container .contain{max-width: 1000px !important; margin: 0 auto}
|
| 285 |
'''
|
| 286 |
if __name__ == "__main__":
|
| 287 |
demo.queue().launch(mcp_server=True, css=css)
|
|
|
|
| 236 |
with gr.Row():
|
| 237 |
with gr.Column():
|
| 238 |
input_image_component = gr.Image(type="pil", label="Input Image")
|
| 239 |
+
prompt_input = gr.Textbox(label="Prompt", value=default_prompt_i2v, lines=3)
|
| 240 |
duration_seconds_input = gr.Slider(minimum=MIN_DURATION, maximum=MAX_DURATION, step=0.1, value=3.5, label="Duration (seconds)", info=f"Clamped to model's {MIN_FRAMES_MODEL}-{MAX_FRAMES_MODEL} frames at {FIXED_FPS}fps.")
|
| 241 |
|
| 242 |
with gr.Accordion("Advanced Settings", open=False):
|
|
|
|
| 281 |
|
| 282 |
|
| 283 |
css = '''
|
| 284 |
+
.gradio-container .contain{max-width: 1000px !important; margin: 0 auto !important}
|
| 285 |
'''
|
| 286 |
if __name__ == "__main__":
|
| 287 |
demo.queue().launch(mcp_server=True, css=css)
|