1Egyb commited on
Commit
7857882
·
verified ·
1 Parent(s): de56ece

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -132,7 +132,7 @@ client = InferenceClient(api_key=HF_TOKEN) if HF_TOKEN else None
132
 
133
  # --------------------------- العقل المدبر (AI Logic) ---------------------------
134
 
135
- def engine_response(message, history):
136
  if not client:
137
  yield history + [{"role": "assistant", "content": "⚠️ النظام متوقف: HF_TOKEN غير موجود."}]
138
  return
 
132
 
133
  # --------------------------- العقل المدبر (AI Logic) ---------------------------
134
 
135
+ def engine_response(message, history):
136
  if not client:
137
  yield history + [{"role": "assistant", "content": "⚠️ النظام متوقف: HF_TOKEN غير موجود."}]
138
  return