|
--- |
|
title: Language Detection Compare Models |
|
emoji: π |
|
colorFrom: green |
|
colorTo: blue |
|
sdk: gradio |
|
sdk_version: 5.38.0 |
|
app_file: app.py |
|
pinned: false |
|
license: mit |
|
short_description: compare language detection models |
|
--- |
|
|
|
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference |
|
|
|
|
|
|
|
# Language Detection Comparison App |
|
|
|
This app compares language detection results from three sources: |
|
|
|
- **Facebook fastText** (offline, accurate) |
|
- **Google Cloud Translation API** (online, requires API key) |
|
- **Hugging Face language detection model** (configurable) |
|
|
|
## Setup |
|
|
|
1. Install dependencies: |
|
|
|
```bash |
|
pip install -r requirements.txt |
|
|