aasherkamal216 commited on
Commit
f82a31a
·
unverified ·
1 Parent(s): ddb2424

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -59,7 +59,7 @@ def load_lottie_file(filepath: str):
59
  with open(filepath, "r") as f:
60
  return json.load(f)
61
 
62
-
63
  async def generate_speech(text, voice):
64
  communicate = edge_tts.Communicate(text, voice)
65
  with tempfile.NamedTemporaryFile(delete=False, suffix=".mp3") as temp_file:
 
59
  with open(filepath, "r") as f:
60
  return json.load(f)
61
 
62
+ ###--- GENERATE SPEECH---###
63
  async def generate_speech(text, voice):
64
  communicate = edge_tts.Communicate(text, voice)
65
  with tempfile.NamedTemporaryFile(delete=False, suffix=".mp3") as temp_file: