Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Update app.py
Browse files
app.py
CHANGED
@@ -88,6 +88,7 @@ def create_request(prompt, aspect_ratio="1:1", seed=-1):
|
|
88 |
headers = {
|
89 |
"Authorization": f"Bearer {API_TOKEN}",
|
90 |
"X-accept-language": "en",
|
|
|
91 |
"Content-Type": "application/json",
|
92 |
}
|
93 |
|
|
|
88 |
headers = {
|
89 |
"Authorization": f"Bearer {API_TOKEN}",
|
90 |
"X-accept-language": "en",
|
91 |
+
"X-source": "api",
|
92 |
"Content-Type": "application/json",
|
93 |
}
|
94 |
|