loubnabnl HF staff commited on
Commit
02913d9
1 Parent(s): 2009abb

remove training "/" from API endpoints (#27)

Browse files

- remove training "/" from API endpoints (4f1fbf4fced6871b85a286a622c9a9b3ff537c5c)

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>"