TGPro1 commited on
Commit
419a48e
Β·
verified Β·
1 Parent(s): 0af9862

Upload README.md with huggingface_hub

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