AI commited on
Commit
34e32bc
·
1 Parent(s): cafe911

Speed optimization: Switched to Qwen 2.5 1.5B (Lighter & Faster)

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -28,7 +28,7 @@ async def log_requests(request, call_next):
28
  return response
29
 
30
  # --------- إعدادات النظام (System Config) ---------
31
- MODEL_API_URL = "https://api-inference.huggingface.co/models/google/gemma-2-2b-it"
32
  # نصيحة: يفضل وضع التوكن في الـ Secrets في HF Space باسم HF_TOKEN
33
  HF_TOKEN = os.getenv("HF_TOKEN", "")
34
 
 
28
  return response
29
 
30
  # --------- إعدادات النظام (System Config) ---------
31
+ MODEL_API_URL = "https://api-inference.huggingface.co/models/Qwen/Qwen2.5-1.5B-Instruct"
32
  # نصيحة: يفضل وضع التوكن في الـ Secrets في HF Space باسم HF_TOKEN
33
  HF_TOKEN = os.getenv("HF_TOKEN", "")
34