TrainThenObtain-ai commited on
Commit
6748661
1 Parent(s): 74be0d3

Update inference-api.py

Browse files
Files changed (1) hide show
  1. inference-api.py +2 -2
inference-api.py CHANGED
@@ -1,7 +1,7 @@
1
  import json
2
  import requests
3
- headers = {"Authorization": f"Bearer {API_TOKEN}"}
4
- API_URL = "https://api-inference.huggingface.co/models/google/vit-base-patch16-224"
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()