fix: remove gated models (Anwarkh1/Skin_Cancer, Marqo/nsfw)
Browse files6 unmodified lines789101112131410111213141519 unmodified lines353637403839401 unmodified line42434448494546476 unmodified linesMIN_ACEPTABLE_SCORE = 0.1MAX_N_LABELS = 5
HF_TOKEN = Nonetry: HF_TOKEN = st.secrets.get("HF_TOKEN")except FileNotFoundError: passimport os
HF_TOKEN = os.environ.get("HF_TOKEN")if HF_TOKEN: login(token=HF_TOKEN)
19 unmodified lines
("Falconsai/nsfw_image_detection", "NSFW Detection"), ("carbon225/vit-base-patch16-224-hentai", "NSFW Detection"), ("Marqo/nsfw-image-detection-384", "NSFW Detection"),
("cafeai/cafe_aesthetic", "Aesthetic/Art Classification"),
1 unmodified line ("RickyIG/emotion_face_image_classification", "Face/Emotion Classification"), ("rizvandwiki/gender-classification", "Face/Emotion Classification"),
("Anwarkh1/Skin_Cancer-Image_Classification", "Medical/Dermatology"),
("Ateeqq/ai-vs-human-image-detector", "AI vs Human Detection"), ("umm-maybe/AI-image-detector", "AI vs Human Detection"),
app.py+3-8