ionvop commited on
Commit
c97bccb
·
verified ·
1 Parent(s): 7f9aa47

Update app/main.py

Browse files
Files changed (1) hide show
  1. app/main.py +1 -1
app/main.py CHANGED
@@ -39,7 +39,7 @@ async def speak(text: str):
39
 
40
  os.rename(path, cache_path)
41
 
42
- with open(path, "rb") as f:
43
  audio_bytes = f.read()
44
 
45
  return Response(content=audio_bytes, media_type="audio/wav")
 
39
 
40
  os.rename(path, cache_path)
41
 
42
+ with open(cache_path, "rb") as f:
43
  audio_bytes = f.read()
44
 
45
  return Response(content=audio_bytes, media_type="audio/wav")