linoyts HF Staff commited on
Commit
693bb14
Β·
verified Β·
1 Parent(s): 0c64d68

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
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", size="lg")
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: 1000px !important; margin: 0 auto !important}
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)