Voice_Prompt2 / README.md
shiue2000's picture
Update README.md
cb003e5 verified
---
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