Update app.py
Browse files
app.py
CHANGED
@@ -63,6 +63,9 @@ def generate_image(prompt):
|
|
63 |
0.55, # Upscaler strength
|
64 |
1.5, # Upscale by
|
65 |
True, # Add Quality Tags
|
|
|
|
|
|
|
66 |
api_name="/run"
|
67 |
)
|
68 |
# Check if result is not empty and contains the expected structure
|
|
|
63 |
0.55, # Upscaler strength
|
64 |
1.5, # Upscale by
|
65 |
True, # Add Quality Tags
|
66 |
+
isImg2Img=False,
|
67 |
+
img_path=None, # Ensure img_path is set to None
|
68 |
+
img2img_strength=0.65,
|
69 |
api_name="/run"
|
70 |
)
|
71 |
# Check if result is not empty and contains the expected structure
|