randydev commited on
Commit
7fe11c0
·
verified ·
1 Parent(s): 280b068

Update models.js

Browse files
Files changed (1) hide show
  1. models.js +6 -2
models.js CHANGED
@@ -174,13 +174,17 @@ jangan pake \`\`\`json
174
 
175
  mending normal pake {}
176
 
 
 
 
 
177
  Jawaban selalu dalam format JSON:
178
 
179
  - Jika cocok untuk gambar:
180
- { "is_image": true, "prompt": "isi prompt untuk gambar di sini", "is_anti_porno": false, "reason": null }
181
 
182
  - Jika tidak cocok atau hanya teks biasa:
183
- { "is_image": false, "prompt": null, "is_anti_porno": true, "reason": "isi untuk dilarang porno atau jika aman: null" }
184
  `;
185
 
186
 
 
174
 
175
  mending normal pake {}
176
 
177
+ jika teks (porno) detected:
178
+ is_anti_porno: boolean
179
+ reason: string | null
180
+
181
  Jawaban selalu dalam format JSON:
182
 
183
  - Jika cocok untuk gambar:
184
+ { "is_image": true, "prompt": "isi prompt untuk gambar di sini", "is_anti_porno": boolean, "reason": "string" }
185
 
186
  - Jika tidak cocok atau hanya teks biasa:
187
+ { "is_image": false, "prompt": null, "is_anti_porno": boolean, "reason": "string" }
188
  `;
189
 
190