Spaces:
Running
Running
Update app.py
Browse files
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('
|
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 |
|