mrpoddaa commited on
Commit
ea4d1a9
·
verified ·
1 Parent(s): e2fab6d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -4
app.py CHANGED
@@ -28,11 +28,7 @@ ADMIN_KEY = os.getenv("ADMIN_KEY", "change_this_secret")
28
  # Model name goes in the URL path AND in the payload body
29
  _HF_MODELS = [
30
  ("Qwen/Qwen2.5-7B-Instruct", "https://router.huggingface.co/hf-inference/models/Qwen/Qwen2.5-7B-Instruct/v1/chat/completions"),
31
- ("microsoft/Phi-3.5-mini-instruct", "https://router.huggingface.co/hf-inference/models/microsoft/Phi-3.5-mini-instruct/v1/chat/completions"),
32
  ("mistralai/Mistral-7B-Instruct-v0.3", "https://router.huggingface.co/hf-inference/models/mistralai/Mistral-7B-Instruct-v0.3/v1/chat/completions"),
33
- # featherless-ai: free-tier OpenAI-compatible provider via HF router
34
- ("mistralai/Mistral-7B-Instruct-v0.3", "https://router.huggingface.co/featherless-ai/v1/chat/completions"),
35
- ("Qwen/Qwen2.5-7B-Instruct", "https://router.huggingface.co/featherless-ai/v1/chat/completions"),
36
  ]
37
 
38
  # Mutable toggle — flip via POST /api/admin/gradio-toggle
 
28
  # Model name goes in the URL path AND in the payload body
29
  _HF_MODELS = [
30
  ("Qwen/Qwen2.5-7B-Instruct", "https://router.huggingface.co/hf-inference/models/Qwen/Qwen2.5-7B-Instruct/v1/chat/completions"),
 
31
  ("mistralai/Mistral-7B-Instruct-v0.3", "https://router.huggingface.co/hf-inference/models/mistralai/Mistral-7B-Instruct-v0.3/v1/chat/completions"),
 
 
 
32
  ]
33
 
34
  # Mutable toggle — flip via POST /api/admin/gradio-toggle