TGPro1 commited on
Commit
dc9b465
Β·
verified Β·
1 Parent(s): 1614ff3

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +31 -12
README.md CHANGED
@@ -1,12 +1,31 @@
1
- ---
2
- title: S2ST
3
- emoji: πŸ“š
4
- colorFrom: green
5
- colorTo: indigo
6
- sdk: gradio
7
- sdk_version: 6.3.0
8
- app_file: app.py
9
- pinned: false
10
- ---
11
-
12
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ title: Unified AI Engine
3
+ emoji: πŸš€
4
+ colorFrom: blue
5
+ colorTo: purple
6
+ sdk: docker
7
+ pinned: false
8
+ app_port: 7860
9
+ ---
10
+
11
+ # Unified AI Engine
12
+
13
+ Backend API for real-time multilingual translation with:
14
+ - πŸŽ™οΈ Speech-to-Text (Whisper large-v3)
15
+ - 🌍 Translation (NLLB-200)
16
+ - πŸ”Š Text-to-Speech (XTTS-v2 with voice cloning)
17
+
18
+ ## API Endpoint
19
+
20
+ POST to `https://tgpro1-s2st.hf.space/` with JSON:
21
+
22
+ ```json
23
+ {
24
+ "action": "stt|translate|tts|health",
25
+ "file": "base64_audio", // for STT
26
+ "text": "text to process", // for translate/TTS
27
+ "lang": "en",
28
+ "target_lang": "fr", // for translation
29
+ "speaker_wav": "base64_audio" // optional for voice cloning
30
+ }
31
+ ```