Spaces:
Running
Running
comdoleger
commited on
Commit
•
2d1d47f
1
Parent(s):
dde8c61
Update app.py
Browse files
app.py
CHANGED
@@ -66,7 +66,7 @@ def process_generate(fore, prompt, image_width, image_height, intensity, mode, r
|
|
66 |
|
67 |
forestr = image_to_base64(fore.convert("RGBA"))
|
68 |
|
69 |
-
|
70 |
|
71 |
data = {
|
72 |
"foreground_image64": forestr,
|
@@ -77,6 +77,8 @@ def process_generate(fore, prompt, image_width, image_height, intensity, mode, r
|
|
77 |
"height" : int(image_height),
|
78 |
"refprompt" : refprompt
|
79 |
}
|
|
|
|
|
80 |
'''
|
81 |
data = {
|
82 |
"foreground_image64": forestr,
|
|
|
66 |
|
67 |
forestr = image_to_base64(fore.convert("RGBA"))
|
68 |
|
69 |
+
|
70 |
|
71 |
data = {
|
72 |
"foreground_image64": forestr,
|
|
|
77 |
"height" : int(image_height),
|
78 |
"refprompt" : refprompt
|
79 |
}
|
80 |
+
print(f"DATA: {data}")
|
81 |
+
|
82 |
'''
|
83 |
data = {
|
84 |
"foreground_image64": forestr,
|