Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -23,7 +23,7 @@ logger = logging.getLogger(__name__)
|
|
23 |
#API_URL = os.getenv('API_URL')
|
24 |
#API_TOKEN = os.getenv('API_TOKEN')
|
25 |
# API_URL = 'https://ojciectadeusz-fastapi-inference-qwen2-5-coder-32-a0ab504.hf.space/v1/chat/completions'
|
26 |
-
API_URL = 'https://ojciectadeusz-fastapi-inference-qwen2-5-coder-32b-instruct.hf.space/
|
27 |
headers = {
|
28 |
"Authorization": f"Bearer {os.getenv('HF_API_TOKEN')}",
|
29 |
"Content-Type": "application/json"
|
|
|
23 |
#API_URL = os.getenv('API_URL')
|
24 |
#API_TOKEN = os.getenv('API_TOKEN')
|
25 |
# API_URL = 'https://ojciectadeusz-fastapi-inference-qwen2-5-coder-32-a0ab504.hf.space/v1/chat/completions'
|
26 |
+
API_URL = 'https://ojciectadeusz-fastapi-inference-qwen2-5-coder-32b-instruct.hf.space/generate'
|
27 |
headers = {
|
28 |
"Authorization": f"Bearer {os.getenv('HF_API_TOKEN')}",
|
29 |
"Content-Type": "application/json"
|