Arpit1234 commited on
Commit
4aa5c57
1 Parent(s): 3a478bb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -5,7 +5,7 @@ from PIL import Image
5
  import hashlib
6
 
7
  API_URL = "https://api-inference.huggingface.co/models/stabilityai/stable-diffusion-xl-base-1.0"
8
- headers = {"Authorization": ""}
9
 
10
  def query(payload):
11
  response = requests.post(API_URL, headers=headers, json=payload)
 
5
  import hashlib
6
 
7
  API_URL = "https://api-inference.huggingface.co/models/stabilityai/stable-diffusion-xl-base-1.0"
8
+ headers = {"Authorization": {HG} }
9
 
10
  def query(payload):
11
  response = requests.post(API_URL, headers=headers, json=payload)