Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
comdoleger
commited on
Commit
•
a7d11dc
1
Parent(s):
03f8a49
Update app.py
Browse files
app.py
CHANGED
@@ -65,7 +65,7 @@ def process_generate(fore, prompt, image_width, image_height, intensity, mode, r
|
|
65 |
|
66 |
|
67 |
forestr = image_to_base64(fore.convert("RGBA"))
|
68 |
-
|
69 |
data = {
|
70 |
"foreground_image64": forestr,
|
71 |
"prompt" : prompt,
|
@@ -85,7 +85,7 @@ def process_generate(fore, prompt, image_width, image_height, intensity, mode, r
|
|
85 |
"height" : 1000,
|
86 |
"refprompt" : " transparent glass "
|
87 |
}
|
88 |
-
|
89 |
image = process(data, api, api_key)
|
90 |
|
91 |
return image
|
|
|
65 |
|
66 |
|
67 |
forestr = image_to_base64(fore.convert("RGBA"))
|
68 |
+
|
69 |
data = {
|
70 |
"foreground_image64": forestr,
|
71 |
"prompt" : prompt,
|
|
|
85 |
"height" : 1000,
|
86 |
"refprompt" : " transparent glass "
|
87 |
}
|
88 |
+
'''
|
89 |
image = process(data, api, api_key)
|
90 |
|
91 |
return image
|