Spaces:
Runtime error
Runtime error
Edit size
Browse files
app.py
CHANGED
@@ -80,8 +80,8 @@ def display_image(description: str, kashif: bool, daniel_ho: bool) -> gr.Image:
|
|
80 |
description += " <lora:DanielHo_v1:0.9>"
|
81 |
|
82 |
if kashif or daniel_ho:
|
83 |
-
params["width"] =
|
84 |
-
params["height"] =
|
85 |
else:
|
86 |
params["width"] = initial_width
|
87 |
params["height"] = initial_height
|
|
|
80 |
description += " <lora:DanielHo_v1:0.9>"
|
81 |
|
82 |
if kashif or daniel_ho:
|
83 |
+
params["width"] = 512
|
84 |
+
params["height"] = 512
|
85 |
else:
|
86 |
params["width"] = initial_width
|
87 |
params["height"] = initial_height
|