Anonymous commited on
Commit
80adfc7
1 Parent(s): 52b5268
Files changed (1) hide show
  1. app.py +5 -11
app.py CHANGED
@@ -25,7 +25,7 @@ os.makedirs(ckpt_dir_1024, exist_ok=True)
25
  ckpt_path_256 = "checkpoints/base_256_v1/model.pth"
26
  ckpt_dir_256 = "checkpoints/base_256_v1"
27
  os.makedirs(ckpt_dir_256, exist_ok=True)
28
- # hf_hub_download(repo_id="MoonQiu/LongerCrafter", filename="model.pth", local_dir=ckpt_dir_256)
29
 
30
 
31
  def infer(prompt, output_size="256x256"):
@@ -151,17 +151,11 @@ def infer(prompt, output_size="256x256"):
151
  print(video_path)
152
  return video_path
153
 
154
- # examples = [
155
- # ["A chihuahua in astronaut suit floating in space, cinematic lighting, glow effect",],
156
- # ["Campfire at night in a snowy forest with starry sky in the background",],
157
- # ["A corgi is swimming quickly",],
158
- # ["A panda is surfing in the universe",],
159
- # ]
160
  examples = [
161
- "A chihuahua in astronaut suit floating in space, cinematic lighting, glow effect",
162
- "Campfire at night in a snowy forest with starry sky in the background",
163
- "A corgi is swimming quickly",
164
- "A panda is surfing in the universe",
165
  ]
166
 
167
  css = """
 
25
  ckpt_path_256 = "checkpoints/base_256_v1/model.pth"
26
  ckpt_dir_256 = "checkpoints/base_256_v1"
27
  os.makedirs(ckpt_dir_256, exist_ok=True)
28
+ hf_hub_download(repo_id="MoonQiu/LongerCrafter", filename="model.pth", local_dir=ckpt_dir_256)
29
 
30
 
31
  def infer(prompt, output_size="256x256"):
 
151
  print(video_path)
152
  return video_path
153
 
 
 
 
 
 
 
154
  examples = [
155
+ ["A chihuahua in astronaut suit floating in space, cinematic lighting, glow effect",],
156
+ ["Campfire at night in a snowy forest with starry sky in the background",],
157
+ ["A corgi is swimming quickly",],
158
+ ["A panda is surfing in the universe",],
159
  ]
160
 
161
  css = """