EMMA commited on
Commit
513f5f1
·
1 Parent(s): b8aa393

update code

Browse files
Files changed (1) hide show
  1. app.py +14 -1
app.py CHANGED
@@ -744,9 +744,22 @@ body:has(.progress-level)::before {
744
 
745
  def _trigger_benchmark():
746
  from benchmark_token_efficiency import run_benchmark
747
- return run_benchmark()
 
 
 
 
 
 
 
 
 
 
 
 
748
 
749
  btn_run.click(fn=_trigger_benchmark, outputs=output_text)
 
750
  # ============================
751
 
752
  # -------------------------------------------------------
 
744
 
745
  def _trigger_benchmark():
746
  from benchmark_token_efficiency import run_benchmark
747
+
748
+ # لیست پرسش‌های ارزیابی بنچمارک
749
+ queries = [
750
+ "I've been feeling extremely anxious about my upcoming exams.",
751
+ "Do you remember what we talked about regarding my childhood dog?",
752
+ "How can I practice progressive muscle relaxation?",
753
+ "I had a fight with my partner yesterday and felt so alone.",
754
+ "What was my favorite coping strategy we discussed earlier?",
755
+ "Can you explain cognitive distortions with examples?",
756
+ "I feel overwhelmed with work pressure this week."
757
+ ]
758
+
759
+ return run_benchmark(test_queries=queries)
760
 
761
  btn_run.click(fn=_trigger_benchmark, outputs=output_text)
762
+
763
  # ============================
764
 
765
  # -------------------------------------------------------