TrainThenObtain-ai
commited on
Commit
•
6748661
1
Parent(s):
74be0d3
Update inference-api.py
Browse files- inference-api.py +2 -2
inference-api.py
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
import json
|
2 |
import requests
|
3 |
-
headers = {"Authorization":
|
4 |
-
API_URL = "https://api-inference.huggingface.co/models/
|
5 |
def query(filename):
|
6 |
with open(filename, "rb") as f:
|
7 |
data = f.read()
|
|
|
1 |
import json
|
2 |
import requests
|
3 |
+
headers = {"Authorization": "Bearer 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"}
|
4 |
+
API_URL = "https://api-inference.huggingface.co/models/TranThenObtain-ai/CSGO-Map-Definer"
|
5 |
def query(filename):
|
6 |
with open(filename, "rb") as f:
|
7 |
data = f.read()
|