Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -18,7 +18,8 @@ logger = logging.getLogger(__name__)
|
|
18 |
with open("config.toml") as f:
|
19 |
config = toml.load(f)
|
20 |
|
21 |
-
API_URL = config["llm"]["api_url"]
|
|
|
22 |
headers = {
|
23 |
"Authorization": f"Bearer {config['llm']['api_key']}",
|
24 |
"Content-Type": "application/json"
|
|
|
18 |
with open("config.toml") as f:
|
19 |
config = toml.load(f)
|
20 |
|
21 |
+
#API_URL = config["llm"]["api_url"]''
|
22 |
+
API_URL = 'https://ojciectadeusz-fastapi-inference-qwen2-5-coder-32-a0ab504.hf.space/v1/chat/completions'
|
23 |
headers = {
|
24 |
"Authorization": f"Bearer {config['llm']['api_key']}",
|
25 |
"Content-Type": "application/json"
|