Spaces:
Runtime error
Runtime error
Commit
·
9d24eeb
1
Parent(s):
d6691d2
Update app.py
Browse files
app.py
CHANGED
@@ -9,7 +9,7 @@ import traceback
|
|
9 |
token = os.getenv('TOKEN')
|
10 |
# API details
|
11 |
API_URL = "https://api-inference.huggingface.co/models/SaladSlayer00/twin_matcher"
|
12 |
-
headers = {"Authorization":
|
13 |
|
14 |
# Function to query the API with an image file
|
15 |
def query(filename):
|
|
|
9 |
token = os.getenv('TOKEN')
|
10 |
# API details
|
11 |
API_URL = "https://api-inference.huggingface.co/models/SaladSlayer00/twin_matcher"
|
12 |
+
headers = {"Authorization": token}
|
13 |
|
14 |
# Function to query the API with an image file
|
15 |
def query(filename):
|