loubnabnl HF staff commited on
Commit
4f1fbf4
1 Parent(s): 2009abb

remove training "/" from API endpoints

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -10,8 +10,8 @@ from text_generation import Client
10
  from share_btn import community_icon_html, loading_icon_html, share_js, share_btn_css
11
 
12
  HF_TOKEN = os.environ.get("HF_TOKEN", None)
13
- API_URL = "https://api-inference.huggingface.co/models/bigcode/starcoder/"
14
- API_URL_BASE ="https://api-inference.huggingface.co/models/bigcode/starcoderbase/"
15
 
16
  FIM_PREFIX = "<fim_prefix>"
17
  FIM_MIDDLE = "<fim_middle>"
 
10
  from share_btn import community_icon_html, loading_icon_html, share_js, share_btn_css
11
 
12
  HF_TOKEN = os.environ.get("HF_TOKEN", None)
13
+ API_URL = "https://api-inference.huggingface.co/models/bigcode/starcoder"
14
+ API_URL_BASE ="https://api-inference.huggingface.co/models/bigcode/starcoderbase"
15
 
16
  FIM_PREFIX = "<fim_prefix>"
17
  FIM_MIDDLE = "<fim_middle>"