Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -109,7 +109,7 @@ def generate(
|
|
109 |
image_in,
|
110 |
selected,
|
111 |
prompt: str = "best quality",
|
112 |
-
seed:
|
113 |
num_inference_steps: int = 10,
|
114 |
num_frames: int = 30,
|
115 |
shape_height: int = 512,
|
@@ -122,6 +122,7 @@ def generate(
|
|
122 |
fps_id: int = 25,
|
123 |
output_folder: str = "outputs",
|
124 |
progress=gr.Progress(track_tqdm=True)):
|
|
|
125 |
video = ""
|
126 |
if seed == -1:
|
127 |
seed = random.randint(0, MAX_SEED)
|
@@ -159,7 +160,8 @@ def generate(
|
|
159 |
negative_prompt="verybadimagenegative_v1.3",
|
160 |
cfg_scale=3,
|
161 |
clip_skip=2,
|
162 |
-
controlnet_frames=input_video,
|
|
|
163 |
num_inference_steps=num_inference_steps,
|
164 |
height=height,
|
165 |
width=width,
|
|
|
109 |
image_in,
|
110 |
selected,
|
111 |
prompt: str = "best quality",
|
112 |
+
seed: int = -1,
|
113 |
num_inference_steps: int = 10,
|
114 |
num_frames: int = 30,
|
115 |
shape_height: int = 512,
|
|
|
122 |
fps_id: int = 25,
|
123 |
output_folder: str = "outputs",
|
124 |
progress=gr.Progress(track_tqdm=True)):
|
125 |
+
|
126 |
video = ""
|
127 |
if seed == -1:
|
128 |
seed = random.randint(0, MAX_SEED)
|
|
|
160 |
negative_prompt="verybadimagenegative_v1.3",
|
161 |
cfg_scale=3,
|
162 |
clip_skip=2,
|
163 |
+
controlnet_frames=input_video,
|
164 |
+
num_frames=num_frames,
|
165 |
num_inference_steps=num_inference_steps,
|
166 |
height=height,
|
167 |
width=width,
|