asolomonqa commited on
Commit
fb5f364
·
verified ·
1 Parent(s): 4e27756

Fix: correct API URL → api-inference.huggingface.co

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -4,10 +4,10 @@ import requests
4
  import os
5
 
6
  HF_TOKEN = os.environ.get("HF_TOKEN", "")
7
- MODEL_ID = "asolomonqa/asmgenius-v1"
8
 
9
  # ✅ CORRECT inference API URL
10
- API_URL = "https://api-inference.huggingface.co/models/" + MODEL_ID
11
 
12
  HEADERS = {
13
  "Authorization": f"Bearer {HF_TOKEN}",
 
4
  import os
5
 
6
  HF_TOKEN = os.environ.get("HF_TOKEN", "")
7
+
8
 
9
  # ✅ CORRECT inference API URL
10
+ API_URL = "https://api-inference.huggingface.co/asolomonqa/asmgenius-v1"
11
 
12
  HEADERS = {
13
  "Authorization": f"Bearer {HF_TOKEN}",