lelafav502 commited on
Commit
84bd2d5
·
verified ·
1 Parent(s): 4960cd2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -256,7 +256,7 @@ def send_face_request_d(image, target, uuid_value, token):
256
  # Function for Image-to-Image (Send POST request with an image and other parameters)
257
  def send_inpaint2image_request(image, mask, prompt, ratio, uuid_value, token, style):
258
  # Access the URL from Secrets (Private)
259
- url = os.getenv('API_URL_IMAGE') # Secret variable for the URL
260
  if not url:
261
  return "Error: API URL not set in environment secrets."
262
 
 
256
  # Function for Image-to-Image (Send POST request with an image and other parameters)
257
  def send_inpaint2image_request(image, mask, prompt, ratio, uuid_value, token, style):
258
  # Access the URL from Secrets (Private)
259
+ url = os.getenv('API_URL_PAINT') # Secret variable for the URL
260
  if not url:
261
  return "Error: API URL not set in environment secrets."
262