Spaces:
Running
Running
comdoleger
commited on
Commit
•
f9f9d7d
1
Parent(s):
6901125
Update app.py
Browse files
app.py
CHANGED
@@ -267,6 +267,8 @@ def process_generate(fore, back, prompt, intensity, mode, refprompt, isrmbg, mod
|
|
267 |
pass
|
268 |
|
269 |
#
|
|
|
|
|
270 |
# Select the endpoint based on the model type
|
271 |
if model_type == "anime":
|
272 |
api_endpoint = api_anime #to change to api_anime
|
|
|
267 |
pass
|
268 |
|
269 |
#
|
270 |
+
if fore is None:
|
271 |
+
print(fore)
|
272 |
# Select the endpoint based on the model type
|
273 |
if model_type == "anime":
|
274 |
api_endpoint = api_anime #to change to api_anime
|