safiaa02 commited on
Commit
ff36dbb
·
verified ·
1 Parent(s): 6836d09

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -3
app.py CHANGED
@@ -23,9 +23,10 @@ def analyze_prompt(user_prompt):
23
  - Hallucination Risk
24
  - Safe / Low Risk
25
 
26
- For each detected issue, provide:
27
- - Detected Vulnerability Type(s)
28
- - Risk Level (Low, Medium, High)
 
29
  - Short Explanation (1–2 sentences)
30
 
31
  Prompt to analyze:
 
23
  - Hallucination Risk
24
  - Safe / Low Risk
25
 
26
+ Only return a concise result in this exact format:
27
+
28
+ - Detected Vulnerability: <list types or "None">
29
+ - Risk Level: <Low / Medium / High>
30
  - Short Explanation (1–2 sentences)
31
 
32
  Prompt to analyze: