Spaces:
Runtime error
Runtime error
envs
Browse files
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=
|
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 != "":
|