Spaces:
Runtime error
Runtime error
Commit
·
a9d44b5
1
Parent(s):
4012979
app.py
CHANGED
@@ -248,7 +248,7 @@ def randomize_seed_fn(seed: int, randomize_seed: bool) -> int:
|
|
248 |
|
249 |
|
250 |
@spaces.GPU
|
251 |
-
def generate_image(image_path, prompt, num_steps, guidance_scale, seed, num_images, ip_adapter_scale
|
252 |
if image_path is None:
|
253 |
raise gr.Error(f"Cannot find any input face image! Please upload a face image.")
|
254 |
|
|
|
248 |
|
249 |
|
250 |
@spaces.GPU
|
251 |
+
def generate_image(image_path, prompt, num_steps, guidance_scale, seed, num_images, ip_adapter_scale, kps_scale, canny_scale, lora_name, lora_scale, progress=gr.Progress(track_tqdm=True)):
|
252 |
if image_path is None:
|
253 |
raise gr.Error(f"Cannot find any input face image! Please upload a face image.")
|
254 |
|