Spaces:
Sleeping
Sleeping
| title: Voice Prompt v2 | |
| emoji: π | |
| colorFrom: yellow | |
| colorTo: indigo | |
| sdk: gradio | |
| sdk_version: 5.42.0 | |
| app_file: app.py | |
| pinned: false | |
| license: cc | |
| short_description: Email_Writer | |
| Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference | |
| # π€ Chinese Voice β English Text Translator | |
| A Hugging Face Space powered by **OpenAI Whisper** and **MarianMT** that lets you: | |
| 1. Speak Chinese directly (ποΈ microphone input). | |
| 2. Upload an audio file in Chinese (`.wav`, `.mp3`, etc). | |
| 3. Get instant **Chinese transcription** and **English translation**. | |
| --- | |
| ## π Demo | |
| - ποΈ Click the microphone to record your voice in Chinese. | |
| - π Or upload a pre-recorded audio file. | |
| - πΆ The app transcribes your speech into **Chinese text**. | |
| - π The app then translates that text into **English**. | |
| --- | |
| ## π οΈ Tech Stack | |
| - [Gradio](https://gradio.app/) β User interface. | |
| - [OpenAI Whisper](https://github.com/openai/whisper) β Chinese speech-to-text. | |
| - [Helsinki-NLP/opus-mt-zh-en](https://huggingface.co/Helsinki-NLP/opus-mt-zh-en) β Chinese β English translation. | |
| - [PyTorch](https://pytorch.org/) β Deep learning backend. | |
| --- | |
| ## π Files | |
| - `app.py` β Main Gradio app. | |
| - `requirements.txt` β Dependencies for Hugging Face Space. | |
| - `READM | |