Spaces:
Runtime error
Runtime error
remove training "/" from API endpoints
Browse files
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>"
|