Spaces:
Running
on
Zero
Running
on
Zero
Update app_v4.py
Browse files
app_v4.py
CHANGED
|
@@ -208,7 +208,7 @@ def update_parameters(preset):
|
|
| 208 |
return 1.0, 8, 0.6, 3.5, 0.0, 1.0
|
| 209 |
|
| 210 |
def process_image(control_image, user_prompt, system_prompt, scale, steps,
|
| 211 |
-
controlnet_conditioning_scale, guidance_scale, seed,
|
| 212 |
guidance_end, temperature, max_new_tokens, log_prompt):
|
| 213 |
# Initialize with empty caption
|
| 214 |
final_prompt = user_prompt.strip()
|
|
|
|
| 208 |
return 1.0, 8, 0.6, 3.5, 0.0, 1.0
|
| 209 |
|
| 210 |
def process_image(control_image, user_prompt, system_prompt, scale, steps,
|
| 211 |
+
controlnet_conditioning_scale, guidance_scale, seed, guidance_start,
|
| 212 |
guidance_end, temperature, max_new_tokens, log_prompt):
|
| 213 |
# Initialize with empty caption
|
| 214 |
final_prompt = user_prompt.strip()
|