OjciecTadeusz commited on
Commit
042bc2c
·
verified ·
1 Parent(s): 6299327

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
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"