aika42 commited on
Commit
2c9782c
·
verified ·
1 Parent(s): 8112fc5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -3
app.py CHANGED
@@ -11,11 +11,13 @@ HEADERS = {"Authorization": f"Bearer {HF_TOKEN}"}
11
 
12
  # Prompt Template
13
  PROMPT_TEMPLATE = """
14
- You are a prompt evaluation assistant called \"PromptPolice\". Evaluate the following user prompt based on the criteria below. For each, rate from 1 (poor) to 5 (excellent), explain why, and suggest specific improvements.
 
 
15
  Prompt:
16
- \"\"\"
17
  {user_prompt}
18
- \"\"\"
19
  Evaluation Criteria (1–5):
20
  - 🔍 Clarity: Is the prompt easy to understand?
21
  - 🧠 Context: Does the prompt provide enough background or situational framing?
 
11
 
12
  # Prompt Template
13
  PROMPT_TEMPLATE = """
14
+ You are a prompt evaluation assistant called PromptPolice. Evaluate the following user prompt based on the criteria below. For each, rate from 1 (poor) to 5 (excellent), explain why, and suggest specific improvements.
15
+ I dont want to see any commentary from you, Start directly with Evaluation format given below
16
+
17
  Prompt:
18
+
19
  {user_prompt}
20
+
21
  Evaluation Criteria (1–5):
22
  - 🔍 Clarity: Is the prompt easy to understand?
23
  - 🧠 Context: Does the prompt provide enough background or situational framing?