Update TextGen/router.py
Browse files- TextGen/router.py +1 -1
TextGen/router.py
CHANGED
@@ -80,7 +80,7 @@ def inference(message: Message):
|
|
80 |
def determine_vocie_from_npc(npc):
|
81 |
return "./voices/blacksmith.mp3"
|
82 |
|
83 |
-
@app.
|
84 |
async def generate_wav(message:VoiceMessage):
|
85 |
try:
|
86 |
voice=determine_vocie_from_npc(message.npc)
|
|
|
80 |
def determine_vocie_from_npc(npc):
|
81 |
return "./voices/blacksmith.mp3"
|
82 |
|
83 |
+
@app.post("/generate_wav")
|
84 |
async def generate_wav(message:VoiceMessage):
|
85 |
try:
|
86 |
voice=determine_vocie_from_npc(message.npc)
|