Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -253,9 +253,9 @@ def resize_to_fit(max_size, original_size):
|
|
253 |
|
254 |
def process_generate(fore, prompt, intensity, mode, refprompt, isrmbg, model_type, steps, control_strength):
|
255 |
|
256 |
-
max_size = (
|
257 |
if prompt in prompt_list:
|
258 |
-
max_size = (
|
259 |
if isrmbg:
|
260 |
try:
|
261 |
rmbgfore = rmbg(fore)
|
|
|
253 |
|
254 |
def process_generate(fore, prompt, intensity, mode, refprompt, isrmbg, model_type, steps, control_strength):
|
255 |
|
256 |
+
max_size = (1500,1500)
|
257 |
if prompt in prompt_list:
|
258 |
+
max_size = (1500,1500)
|
259 |
if isrmbg:
|
260 |
try:
|
261 |
rmbgfore = rmbg(fore)
|