File size: 1,283 Bytes
760b531
 
 
 
 
 
 
 
 
 
 
 
 
ed743de
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
---
title: CodeAlpha Language Detector
emoji: 🏆
colorFrom: pink
colorTo: purple
sdk: gradio
sdk_version: 6.14.0
python_version: '3.13'
app_file: app.py
pinned: false
---

Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
# 🌍 CodeAlpha Language Detection AI - Task 3

**CodeAlpha AI Internship May 2026**

### 🚀 Live Demo
👉 [Try it on Hugging Face](https://huggingface.co/spaces/zineb36/CodeAlpha-Language-Detector)

### ✨ Features
- **NLP Library**: `langdetect` for automatic language identification
- **20+ Languages**: English, Français, العربية, Español, 中文, 日本語 + more
- **Premium UI**: Animated Gradients + Glassmorphism + Responsive
- **Confidence Score**: Real-time detection probability
- **Smart Fix**: Handles short English sentences correctly

### 🛠️ Tech Stack
| Technology | Purpose |
| --- | --- |
| **Python** | Core Logic |
| **langdetect** | Language Detection NLP |
| **Gradio 6.14.0** | Interactive Web UI |

### 📋 CodeAlpha Requirements
- ✅ Use NLP library for language detection
- ✅ Detect language from user input text
- ✅ Create user-friendly interface
- ✅ Display detected language + confidence

### 👩‍💻 Author
**Zineb** | AI Intern @ CodeAlpha May 2026