Spaces:
Sleeping
Sleeping
Update audio.py
Browse files
audio.py
CHANGED
@@ -2,7 +2,7 @@ from elevenlabs import voices, generate, set_api_key, UnauthenticatedRateLimitEr
|
|
2 |
import numpy as np
|
3 |
import gradio as gr
|
4 |
|
5 |
-
set_api_key(
|
6 |
|
7 |
def pad_buffer(audio):
|
8 |
# Pad buffer to multiple of 2 bytes
|
|
|
2 |
import numpy as np
|
3 |
import gradio as gr
|
4 |
|
5 |
+
set_api_key(ELEVEN_API_KEY)
|
6 |
|
7 |
def pad_buffer(audio):
|
8 |
# Pad buffer to multiple of 2 bytes
|