Yw22 commited on
Commit
eea14d1
·
1 Parent(s): fe1e69e
Files changed (2) hide show
  1. app-23.py +1 -1
  2. app.py +1 -1
app-23.py CHANGED
@@ -321,7 +321,7 @@ class ImageConductor:
321
 
322
  print("input_all_points", input_all_points)
323
  resized_all_points = [tuple([tuple([float(e1[0]*self.width/original_width), float(e1[1]*self.height/original_height)]) for e1 in e]) for e in input_all_points]
324
-
325
  dir, base, ext = split_filename(first_frame_path)
326
  id = base.split('_')[-1]
327
 
 
321
 
322
  print("input_all_points", input_all_points)
323
  resized_all_points = [tuple([tuple([float(e1[0]*self.width/original_width), float(e1[1]*self.height/original_height)]) for e1 in e]) for e in input_all_points]
324
+ print("first_frame_path", first_frame_path)
325
  dir, base, ext = split_filename(first_frame_path)
326
  id = base.split('_')[-1]
327
 
app.py CHANGED
@@ -300,7 +300,7 @@ class ImageConductor:
300
 
301
  self.blur_kernel = blur_kernel
302
 
303
- @spaces.GPU(duration=120)
304
  def run(self, first_frame_path, tracking_points, prompt, drag_mode, negative_prompt, seed, randomize_seed, guidance_scale, num_inference_steps, personalized, examples_type):
305
  print("Run!")
306
  if examples_type != "":
 
300
 
301
  self.blur_kernel = blur_kernel
302
 
303
+ @spaces.GPU(duration=250)
304
  def run(self, first_frame_path, tracking_points, prompt, drag_mode, negative_prompt, seed, randomize_seed, guidance_scale, num_inference_steps, personalized, examples_type):
305
  print("Run!")
306
  if examples_type != "":