sourize commited on
Commit
11db01a
·
verified ·
1 Parent(s): ba2f041

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -15,7 +15,7 @@ SYSTEM_PROMPT = (
15
  "If you don't know, say \"I don't know.\"\n"
16
  )
17
 
18
- API_URL = f"https://api-inference.huggingface.co/models/{MODEL_ID}"
19
  HEADERS = {"Authorization": f"Bearer {HF_TOKEN}"}
20
 
21
  def query_hf(prompt: str) -> str:
 
15
  "If you don't know, say \"I don't know.\"\n"
16
  )
17
 
18
+ API_URL = f"https://api-inference.huggingface.co/pipeline/text-generation/{MODEL_ID}"
19
  HEADERS = {"Authorization": f"Bearer {HF_TOKEN}"}
20
 
21
  def query_hf(prompt: str) -> str: