Akoda35 commited on
Commit
dd70b60
·
verified ·
1 Parent(s): a645efc

Create routes/voice.py

Browse files
Files changed (1) hide show
  1. routes/voice.py +10 -0
routes/voice.py ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ from fastapi import APIRouter
2
+
3
+ router = APIRouter(prefix="/voice")
4
+
5
+ @router.post("/generate")
6
+ async def generate_voice():
7
+
8
+ return {
9
+ "audio": "generated"
10
+ }