celikn commited on
Commit
49c6001
·
verified ·
1 Parent(s): 984af9c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -555,6 +555,8 @@ def respond(
555
  temperature = max(0.0, min(2.0, float(temperature)))
556
  top_p = max(0.0, min(1.0, float(top_p)))
557
 
 
 
558
  # System mesajına mahalle karşılaştırma bağlamını ekle
559
  full_system = system_message
560
  if compare_context:
 
555
  temperature = max(0.0, min(2.0, float(temperature)))
556
  top_p = max(0.0, min(1.0, float(top_p)))
557
 
558
+ client = InferenceClient(model=model_name, token=HF_TOKEN if HF_TOKEN else None)
559
+
560
  # System mesajına mahalle karşılaştırma bağlamını ekle
561
  full_system = system_message
562
  if compare_context: