Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -189,7 +189,6 @@ with gr.Blocks(title="LTX-2 Video π₯π") as demo:
|
|
| 189 |
input_image = gr.Image(
|
| 190 |
label="Input Image",
|
| 191 |
type="pil",
|
| 192 |
-
sources=["upload"]
|
| 193 |
)
|
| 194 |
|
| 195 |
prompt = gr.Textbox(
|
|
@@ -208,7 +207,7 @@ with gr.Blocks(title="LTX-2 Video π₯π") as demo:
|
|
| 208 |
step=0.1
|
| 209 |
)
|
| 210 |
|
| 211 |
-
generate_btn = gr.Button("Generate Video", variant="primary"
|
| 212 |
|
| 213 |
with gr.Accordion("Advanced Settings", open=False):
|
| 214 |
negative_prompt = gr.Textbox(
|
|
@@ -296,7 +295,7 @@ with gr.Blocks(title="LTX-2 Video π₯π") as demo:
|
|
| 296 |
)
|
| 297 |
|
| 298 |
css = '''
|
| 299 |
-
.gradio-container .contain{max-width:
|
| 300 |
'''
|
| 301 |
if __name__ == "__main__":
|
| 302 |
demo.launch(theme=gr.themes.Citrus(), css=css)
|
|
|
|
| 189 |
input_image = gr.Image(
|
| 190 |
label="Input Image",
|
| 191 |
type="pil",
|
|
|
|
| 192 |
)
|
| 193 |
|
| 194 |
prompt = gr.Textbox(
|
|
|
|
| 207 |
step=0.1
|
| 208 |
)
|
| 209 |
|
| 210 |
+
generate_btn = gr.Button("Generate Video", variant="primary")
|
| 211 |
|
| 212 |
with gr.Accordion("Advanced Settings", open=False):
|
| 213 |
negative_prompt = gr.Textbox(
|
|
|
|
| 295 |
)
|
| 296 |
|
| 297 |
css = '''
|
| 298 |
+
.gradio-container .contain{max-width: 1200px !important; margin: 0 auto !important}
|
| 299 |
'''
|
| 300 |
if __name__ == "__main__":
|
| 301 |
demo.launch(theme=gr.themes.Citrus(), css=css)
|