OjciecTadeusz commited on
Commit
af73695
·
verified ·
1 Parent(s): 0e21c96

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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/v1/chat/completions'
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"