Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -24,7 +24,7 @@ NSFW_THRESHOLD = 0.5
|
|
| 24 |
def generate_sketch(prompt, num_inference_steps, guidance_scale):
|
| 25 |
# Classify the text for NSFW content
|
| 26 |
text_classification = text_classifier(prompt)
|
| 27 |
-
print(
|
| 28 |
|
| 29 |
# Check the classification results
|
| 30 |
for result in text_classification:
|
|
|
|
| 24 |
def generate_sketch(prompt, num_inference_steps, guidance_scale):
|
| 25 |
# Classify the text for NSFW content
|
| 26 |
text_classification = text_classifier(prompt)
|
| 27 |
+
print(text_classification)
|
| 28 |
|
| 29 |
# Check the classification results
|
| 30 |
for result in text_classification:
|