Spaces:
Running
Running
maialumiaho
commited on
Commit
•
eac19d3
1
Parent(s):
5b6119d
Update app.py
Browse files
app.py
CHANGED
@@ -5,7 +5,7 @@ from PIL import Image
|
|
5 |
import os
|
6 |
|
7 |
hf_token = os.environ.get("hf_token")
|
8 |
-
|
9 |
headers = {"Authorization": f"Bearer hf_token"}
|
10 |
|
11 |
def query(payload):
|
|
|
5 |
import os
|
6 |
|
7 |
hf_token = os.environ.get("hf_token")
|
8 |
+
API_URL = "https://api-inference.huggingface.co/models/xinsir/controlnet-union-sdxl-1.0"
|
9 |
headers = {"Authorization": f"Bearer hf_token"}
|
10 |
|
11 |
def query(payload):
|