Spaces:
Sleeping
Sleeping
update
Browse files
app.py
CHANGED
@@ -14,8 +14,9 @@ def sanitize_prompt(prompt):
|
|
14 |
sanitized_prompt = allowed_chars.sub("", prompt)
|
15 |
return sanitized_prompt
|
16 |
|
17 |
-
|
18 |
def process_images(image, image2=None,prompt="a girl",inpaint_model="black-forest-labs/FLUX.1-schnell",strength=0.75,seed=0):
|
|
|
19 |
try:
|
20 |
# I'm not sure when this happen
|
21 |
if not isinstance(image, dict):
|
|
|
14 |
sanitized_prompt = allowed_chars.sub("", prompt)
|
15 |
return sanitized_prompt
|
16 |
|
17 |
+
#@spaces.GPU(duration=180)
|
18 |
def process_images(image, image2=None,prompt="a girl",inpaint_model="black-forest-labs/FLUX.1-schnell",strength=0.75,seed=0):
|
19 |
+
print("start process_images")
|
20 |
try:
|
21 |
# I'm not sure when this happen
|
22 |
if not isinstance(image, dict):
|