Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -20,7 +20,8 @@ with open("config.toml") as f:
|
|
20 |
|
21 |
#API_URL = os.getenv('API_URL')
|
22 |
#API_TOKEN = os.getenv('API_TOKEN')
|
23 |
-
API_URL = 'https://ojciectadeusz-fastapi-inference-qwen2-5-coder-32-a0ab504.hf.space/v1/chat/completions'
|
|
|
24 |
headers = {
|
25 |
"Authorization": f"Bearer {os.getenv('HF_API_TOKEN')}",
|
26 |
"Content-Type": "application/json"
|
|
|
20 |
|
21 |
#API_URL = os.getenv('API_URL')
|
22 |
#API_TOKEN = os.getenv('API_TOKEN')
|
23 |
+
# API_URL = 'https://ojciectadeusz-fastapi-inference-qwen2-5-coder-32-a0ab504.hf.space/v1/chat/completions'
|
24 |
+
API_URL = 'https://ojciectadeusz-fastapi-inference-qwen2.5-coder-32b-instruct.hf.space/v1/chat/completions'
|
25 |
headers = {
|
26 |
"Authorization": f"Bearer {os.getenv('HF_API_TOKEN')}",
|
27 |
"Content-Type": "application/json"
|