🔍 AI vs Human Text Detector
Advanced detection with 90.5% accuracy — Identify AI-generated content instantly
import gradio as gr import re # Mock detection logic (replace with your actual model) def detect_ai_human(text): if not text.strip(): return "⚠️ Please enter some text to analyze." # Simple demo logic — replace with your 90.5% accuracy model ai_indicators = ["additionally", "furthermore", "moreover", "in conclusion", "it is important to note", "on the other hand"] score = sum(1 for word in ai_indicators if word in text.lower()) ai_prob = min(95, score * 15 + 10) human_prob = 100 - ai_prob if ai_prob > 60: verdict = "🤖 AI-Generated" color = "#f43f5e" else: verdict = "👤 Human-Written" color = "#10b981" return f"""
Advanced detection with 90.5% accuracy — Identify AI-generated content instantly