laxsvips commited on
Commit
9989b50
·
1 Parent(s): 2fa81c7

Initial commit

Browse files
Files changed (1) hide show
  1. audio.py +10 -0
audio.py ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ from elevenlabs import generate
2
+
3
+ def generate_audio(input_text):
4
+ audio = generate(
5
+ text=input_text,
6
+ voice="Rachel",
7
+ model="eleven_monolingual_v1"
8
+ )
9
+
10
+ return audio