multimodalart HF Staff commited on
Commit
5210f53
·
verified ·
1 Parent(s): 53eaa9a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -302,11 +302,11 @@ def generate(input_image, prompt, length, steps, shift, seed, guidance, do_rewri
302
  return output_path, actual_prompt
303
 
304
  # --- Part 6: UI ---
305
- css = '''#col-container { max-width: 900px; 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
 
312
  with gr.Row():
 
302
  return output_path, actual_prompt
303
 
304
  # --- Part 6: UI ---
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
 
312
  with gr.Row():