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