Spaces:
Runtime error
Runtime error
envs
Browse files
app-23.py
CHANGED
|
@@ -301,7 +301,7 @@ class ImageConductor:
|
|
| 301 |
|
| 302 |
self.blur_kernel = blur_kernel
|
| 303 |
|
| 304 |
-
@spaces.GPU(duration=
|
| 305 |
def run(self, first_frame_path, tracking_points, prompt, drag_mode, negative_prompt, seed, randomize_seed, guidance_scale, num_inference_steps, personalized, examples_type):
|
| 306 |
print("Run!")
|
| 307 |
# if examples_type != "":
|
|
@@ -568,7 +568,7 @@ with block:
|
|
| 568 |
width=384,
|
| 569 |
model_length=16
|
| 570 |
)
|
| 571 |
-
first_frame_path_var = gr.State(
|
| 572 |
tracking_points_var = gr.State([])
|
| 573 |
|
| 574 |
with gr.Row():
|
|
|
|
| 301 |
|
| 302 |
self.blur_kernel = blur_kernel
|
| 303 |
|
| 304 |
+
@spaces.GPU(duration=20)
|
| 305 |
def run(self, first_frame_path, tracking_points, prompt, drag_mode, negative_prompt, seed, randomize_seed, guidance_scale, num_inference_steps, personalized, examples_type):
|
| 306 |
print("Run!")
|
| 307 |
# if examples_type != "":
|
|
|
|
| 568 |
width=384,
|
| 569 |
model_length=16
|
| 570 |
)
|
| 571 |
+
first_frame_path_var = gr.State()
|
| 572 |
tracking_points_var = gr.State([])
|
| 573 |
|
| 574 |
with gr.Row():
|