Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
laxsvips
/
apisforgenesis
like
0
Sleeping
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
laxsvips
commited on
Jun 14, 2023
Commit
9989b50
·
1 Parent(s):
2fa81c7
Initial commit
Browse files
Files changed (1)
hide
show
audio.py
+10
-0
audio.py
ADDED
Viewed
@@ -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