Alex commited on
Commit
08fcd94
·
verified ·
1 Parent(s): e9829f8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
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 json.dumps(static_response)
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):