JaishnaCodz commited on
Commit
0fc20d7
·
verified ·
1 Parent(s): 8162519

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -0
app.py CHANGED
@@ -37,27 +37,35 @@ You are an AI content reviewer. Analyze the provided text for the following:
37
  2. *Legal Policy Violations*: Flag content that may violate common legal policies (e.g., copyright infringement, defamation, incitement to violence).
38
  3. *Crude/Abusive Language*: Detect crude, offensive, or abusive language.
39
  4. *Sensitive Topics*: Identify content related to sensitive topics such as racism, gender bias, or other forms of discrimination.
 
40
  Return the results in the following markdown format:
41
  # Blog Review Report
 
42
  ## Grammar Corrections
43
  1. [Heading of issue]
44
  - CONTENT: [Exact line or part of text with the issue]
45
  - SUGGESTION: [Suggested correction]
46
  - ISSUE: [Description of the issue]
 
47
  2. [Heading of next issue]
48
  - CONTENT: [Exact line or part of text with the issue]
49
  - SUGGESTION: [Suggested correction]
50
  - ISSUE: [Description of the issue]
 
51
  [Continue numbering for additional issues or state "None detected"]
 
52
  ## Legal Policy Violations
53
  - CONTENT: [Exact line or part of text with the issue]
54
  SUGGESTION: [Suggested action or correction]
55
  ISSUE: [Description of the legal violation]
56
  [Or state "None detected"]
 
57
  ## Crude/Abusive Language
58
  - [List instances of crude or abusive language or "None detected"]
 
59
  ## Sensitive Topics
60
  - [List instances of sensitive topics or "None detected"]
 
61
  For each issue, provide the exact text, a suggested correction or action, and a concise explanation. Be precise and ensure the output strictly follows the specified format.
62
  """
63
 
 
37
  2. *Legal Policy Violations*: Flag content that may violate common legal policies (e.g., copyright infringement, defamation, incitement to violence).
38
  3. *Crude/Abusive Language*: Detect crude, offensive, or abusive language.
39
  4. *Sensitive Topics*: Identify content related to sensitive topics such as racism, gender bias, or other forms of discrimination.
40
+
41
  Return the results in the following markdown format:
42
  # Blog Review Report
43
+
44
  ## Grammar Corrections
45
  1. [Heading of issue]
46
  - CONTENT: [Exact line or part of text with the issue]
47
  - SUGGESTION: [Suggested correction]
48
  - ISSUE: [Description of the issue]
49
+
50
  2. [Heading of next issue]
51
  - CONTENT: [Exact line or part of text with the issue]
52
  - SUGGESTION: [Suggested correction]
53
  - ISSUE: [Description of the issue]
54
+
55
  [Continue numbering for additional issues or state "None detected"]
56
+
57
  ## Legal Policy Violations
58
  - CONTENT: [Exact line or part of text with the issue]
59
  SUGGESTION: [Suggested action or correction]
60
  ISSUE: [Description of the legal violation]
61
  [Or state "None detected"]
62
+
63
  ## Crude/Abusive Language
64
  - [List instances of crude or abusive language or "None detected"]
65
+
66
  ## Sensitive Topics
67
  - [List instances of sensitive topics or "None detected"]
68
+
69
  For each issue, provide the exact text, a suggested correction or action, and a concise explanation. Be precise and ensure the output strictly follows the specified format.
70
  """
71