talk-globe / README.md
blasisd's picture
Initial commit
93bb4f3

A newer version of the Gradio SDK is available: 5.42.0

Upgrade
metadata
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:

    python3 --version
    
  • Dependencies: Install the required Python packages listed in requirements.txt using pip. Run the following command in your terminal:

    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:

python app.py

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 if you don’t already have one.

  2. Refer to the official 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

Authors

Vlasios Dimitriadis - Initial work: TalkGlobe