Anonymous commited on
Commit
e693f4b
1 Parent(s): 80adfc7
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -20,7 +20,7 @@ from utils.utils import instantiate_from_config
20
  ckpt_path_1024 = "checkpoints/base_1024_v1/model.ckpt"
21
  ckpt_dir_1024 = "checkpoints/base_1024_v1"
22
  os.makedirs(ckpt_dir_1024, exist_ok=True)
23
- # hf_hub_download(repo_id="VideoCrafter/Text2Video-1024", filename="model.ckpt", local_dir=ckpt_dir_1024)
24
 
25
  ckpt_path_256 = "checkpoints/base_256_v1/model.pth"
26
  ckpt_dir_256 = "checkpoints/base_256_v1"
@@ -244,7 +244,7 @@ with gr.Blocks(css=css) as demo:
244
  with gr.Column(elem_id="col-container"):
245
  gr.Markdown(
246
  """
247
- <h1 style="text-align: center;">LongerCrafter(FreeNoise) Text-to-Video (Testing!!!)</h1>
248
  <p style="text-align: center;">
249
  Tuning-Free Longer Video Diffusion via Noise Rescheduling <br />
250
  </p>
@@ -253,7 +253,7 @@ with gr.Blocks(css=css) as demo:
253
  )
254
 
255
  prompt_in = gr.Textbox(label="Prompt", placeholder="A chihuahua in astronaut suit floating in space, cinematic lighting, glow effect")
256
- output_size = gr.Dropdown(["576x1024", "256x256"], value="256x256", label="Output Size", info="576x1024 is watermark-free")
257
  submit_btn = gr.Button("Generate")
258
  video_result = gr.Video(label="Video Output")
259
 
 
20
  ckpt_path_1024 = "checkpoints/base_1024_v1/model.ckpt"
21
  ckpt_dir_1024 = "checkpoints/base_1024_v1"
22
  os.makedirs(ckpt_dir_1024, exist_ok=True)
23
+ hf_hub_download(repo_id="VideoCrafter/Text2Video-1024", filename="model.ckpt", local_dir=ckpt_dir_1024)
24
 
25
  ckpt_path_256 = "checkpoints/base_256_v1/model.pth"
26
  ckpt_dir_256 = "checkpoints/base_256_v1"
 
244
  with gr.Column(elem_id="col-container"):
245
  gr.Markdown(
246
  """
247
+ <h1 style="text-align: center;">LongerCrafter(FreeNoise) Text-to-Video</h1>
248
  <p style="text-align: center;">
249
  Tuning-Free Longer Video Diffusion via Noise Rescheduling <br />
250
  </p>
 
253
  )
254
 
255
  prompt_in = gr.Textbox(label="Prompt", placeholder="A chihuahua in astronaut suit floating in space, cinematic lighting, glow effect")
256
+ output_size = gr.Dropdown(["576x1024", "256x256"], value="576x1024", label="Output Size", info="576x1024 is watermark-free")
257
  submit_btn = gr.Button("Generate")
258
  video_result = gr.Video(label="Video Output")
259