multimodalart HF Staff commited on
Commit
91c178f
·
verified ·
1 Parent(s): 9c3bf66

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -305,7 +305,7 @@ def generate(input_image, prompt, length, steps, shift, seed, guidance, do_rewri
305
  css = '''.gradio-container .app { max-width: 900px !important; margin: 0 auto; }
306
  .dark .progress-text{color: white !important}'''
307
  def create_ui():
308
- with gr.Blocks(title="HunyuanVideo 1.5 I2V", css=css) as demo:
309
  gr.Markdown(f"# 🎬 HunyuanVideo 1.5 I2V 480p distilled demo")
310
  gr.Markdown(f"This is a demo for HunyuanVideo 1.5 I2v {TRANSFORMER_VERSION}, released together with a collection of 10 other checkpoints (text-to-video, 720p, upscalers). Check out the [HunyuanVideo-1.5 model page](https://huggingface.co/tencent/HunyuanVideo-1.5) for more")
311
 
@@ -338,4 +338,4 @@ def create_ui():
338
 
339
  if __name__ == "__main__":
340
  ui = create_ui()
341
- ui.queue().launch(server_name="0.0.0.0", share=True)
 
305
  css = '''.gradio-container .app { max-width: 900px !important; margin: 0 auto; }
306
  .dark .progress-text{color: white !important}'''
307
  def create_ui():
308
+ with gr.Blocks(title="HunyuanVideo 1.5 I2V") as demo:
309
  gr.Markdown(f"# 🎬 HunyuanVideo 1.5 I2V 480p distilled demo")
310
  gr.Markdown(f"This is a demo for HunyuanVideo 1.5 I2v {TRANSFORMER_VERSION}, released together with a collection of 10 other checkpoints (text-to-video, 720p, upscalers). Check out the [HunyuanVideo-1.5 model page](https://huggingface.co/tencent/HunyuanVideo-1.5) for more")
311
 
 
338
 
339
  if __name__ == "__main__":
340
  ui = create_ui()
341
+ ui.queue().launch(server_name="0.0.0.0", share=True, css=css)