Spaces:
Running
Running
Alex
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -147,9 +147,11 @@ def send_face_request_d(image, target, uuid_value, token):
|
|
147 |
"response": "ok",
|
148 |
"status": "200"
|
149 |
}
|
|
|
|
|
150 |
|
151 |
# Return the static JSON response as a string
|
152 |
-
return
|
153 |
|
154 |
# Function for Image-to-Image (Send POST request with an image and other parameters)
|
155 |
def send_inpaint2image_request(image, mask, prompt, ratio, uuid_value, token, style):
|
|
|
147 |
"response": "ok",
|
148 |
"status": "200"
|
149 |
}
|
150 |
+
|
151 |
+
response = json.dumps(static_response)
|
152 |
|
153 |
# Return the static JSON response as a string
|
154 |
+
return response
|
155 |
|
156 |
# Function for Image-to-Image (Send POST request with an image and other parameters)
|
157 |
def send_inpaint2image_request(image, mask, prompt, ratio, uuid_value, token, style):
|