cai-qi commited on
Commit
00692d2
·
verified ·
1 Parent(s): ef42df1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
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