Spaces:
Sleeping
Sleeping
title: TalkGlobe (Gradio UI) | |
emoji: π£οΈ | |
colorFrom: purple | |
colorTo: red | |
sdk: gradio | |
sdk_version: 5.26.0 | |
app_file: src/app.py | |
pinned: false | |
license: mit | |
short_description: Real-time translator with multilang support (Gradio UI) | |
tags: [webrtc, gradio] | |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference | |
# TalkGlobe: Real-Time Speech Translation | |
TalkGlobe is an AI-powered application that enables seamless, real-time speech-to-speech translation. Using the state-of-the-art Seamless-M4T-v2 model from Meta, it delivers: | |
- **ποΈ 101 input languages** for speech recognition | |
- **π 35 output languages** for natural-sounding translated speech | |
- **β‘ Instant translation** with low latency | |
- **π₯οΈ Intuitive interface** for effortless language selection | |
Simply speak in your native language, choose a target language, and TalkGlobe generates the translated audio in real time. Ideal for travel, business, or multilingual conversations. | |
## Supported Languages: | |
Listed below, are the languages supported (either as source or target) by TalkGlobe (according to facebook/seamless-m4t-v2-large model card). | |
| code | language | Source | Target | | |
| -------- | ---------------------- | :----: | :----: | | |
| afr | Afrikaans | β | β | | |
| amh | Amharic | β | β | | |
| arb | Modern Standard Arabic | β | β | | |
| ary | Moroccan Arabic | β | β | | |
| arz | Egyptian Arabic | β | β | | |
| asm | Assamese | β | β | | |
| ast | Asturian | β | β | | |
| azj | North Azerbaijani | β | β | | |
| bel | Belarusian | β | β | | |
| ben | Bengali | β | β | | |
| bos | Bosnian | β | β | | |
| bul | Bulgarian | β | β | | |
| cat | Catalan | β | β | | |
| ceb | Cebuano | β | β | | |
| ces | Czech | β | β | | |
| ckb | Central Kurdish | β | β | | |
| cmn | Mandarin Chinese | β | β | | |
| cmn_Hant | Mandarin Chinese | β | β | | |
| cym | Welsh | β | β | | |
| dan | Danish | β | β | | |
| deu | German | β | β | | |
| ell | Greek | β | β | | |
| eng | English | β | β | | |
| est | Estonian | β | β | | |
| eus | Basque | β | β | | |
| fin | Finnish | β | β | | |
| fra | French | β | β | | |
| fuv | Nigerian Fulfulde | β | β | | |
| gaz | West Central Oromo | β | β | | |
| gle | Irish | β | β | | |
| glg | Galician | β | β | | |
| guj | Gujarati | β | β | | |
| heb | Hebrew | β | β | | |
| hin | Hindi | β | β | | |
| hrv | Croatian | β | β | | |
| hun | Hungarian | β | β | | |
| hye | Armenian | β | β | | |
| ibo | Igbo | β | β | | |
| ind | Indonesian | β | β | | |
| isl | Icelandic | β | β | | |
| ita | Italian | β | β | | |
| jav | Javanese | β | β | | |
| jpn | Japanese | β | β | | |
| kam | Kamba | β | β | | |
| kan | Kannada | β | β | | |
| kat | Georgian | β | β | | |
| kaz | Kazakh | β | β | | |
| kea | Kabuverdianu | β | β | | |
| khk | Halh Mongolian | β | β | | |
| khm | Khmer | β | β | | |
| kir | Kyrgyz | β | β | | |
| kor | Korean | β | β | | |
| lao | Lao | β | β | | |
| lit | Lithuanian | β | β | | |
| ltz | Luxembourgish | β | β | | |
| lug | Ganda | β | β | | |
| luo | Luo | β | β | | |
| lvs | Standard Latvian | β | β | | |
| mai | Maithili | β | β | | |
| mal | Malayalam | β | β | | |
| mar | Marathi | β | β | | |
| mkd | Macedonian | β | β | | |
| mlt | Maltese | β | β | | |
| mni | Meitei | β | β | | |
| mya | Burmese | β | β | | |
| nld | Dutch | β | β | | |
| nno | Norwegian Nynorsk | β | β | | |
| nob | Norwegian BokmΓ₯l | β | β | | |
| npi | Nepali | β | β | | |
| nya | Nyanja | β | β | | |
| oci | Occitan | β | β | | |
| ory | Odia | β | β | | |
| pan | Punjabi | β | β | | |
| pbt | Southern Pashto | β | β | | |
| pes | Western Persian | β | β | | |
| pol | Polish | β | β | | |
| por | Portuguese | β | β | | |
| ron | Romanian | β | β | | |
| rus | Russian | β | β | | |
| slk | Slovak | β | β | | |
| slv | Slovenian | β | β | | |
| sna | Shona | β | β | | |
| snd | Sindhi | β | β | | |
| som | Somali | β | β | | |
| spa | Spanish | β | β | | |
| srp | Serbian | β | β | | |
| swe | Swedish | β | β | | |
| swh | Swahili | β | β | | |
| tam | Tamil | β | β | | |
| tel | Telugu | β | β | | |
| tgk | Tajik | β | β | | |
| tgl | Tagalog | β | β | | |
| tha | Thai | β | β | | |
| tur | Turkish | β | β | | |
| ukr | Ukrainian | β | β | | |
| urd | Urdu | β | β | | |
| uzn | Northern Uzbek | β | β | | |
| vie | Vietnamese | β | β | | |
| xho | Xhosa | β | β | | |
| yor | Yoruba | β | β | | |
| yue | Cantonese | β | β | | |
| zlm | Colloquial Malay | β | β | | |
| zul | Zulu | β | β | | |
## Getting Started | |
This guide provides step-by-step instructions to set up and run the project on your local machine for development and testing purposes. For details on deploying the project to a production environment, refer to the Deployment section. | |
### Prerequisites | |
To set up and run this project, ensure the following software and tools are installed on your system: | |
- **Python**: Version `3.10.12` or higher is required. Verify your Python version by running: | |
```bash | |
python3 --version | |
``` | |
- **Dependencies**: Install the required Python packages listed in requirements.txt using pip. Run the following command in your terminal: | |
```bash | |
pip install -r requirements.txt | |
``` | |
### Local Development and Testing | |
To run the application locally for development and testing purposes, execute the following command in your terminal: | |
```bash | |
python app.py | |
``` | |
> [!WARNING] | |
> Ensure you are in the project's **src** directory before running the script or adapt running path. | |
## Deployment | |
### Deployment on Hugging Face Spaces | |
To deploy the project on Hugging Face Spaces, follow these steps: | |
1. Create an account on [Hugging Face](https://huggingface.co) if you donβt already have one. | |
2. Refer to the official [Spaces Overview](https://huggingface.co/docs/hub/en/spaces-overview) documentation for detailed instructions on setting up and deploying your project. | |
### Deployment on Other Cloud Platforms | |
For deployment on other cloud or live systems, consult the documentation provided by your chosen service provider. Each platform may have specific requirements and steps for deploying Python-based applications. | |
## Built With | |
- [Python 3.10.12](http://www.python.org/) - Developing with the best programming language | |
## Authors | |
**Vlasios Dimitriadis** - _Initial work:_ [TalkGlobe](https://huggingface.co/spaces/blasisd/talk-globe) | |