Spaces:
Runtime error
Runtime error
Update TTS_X/tts.py
Browse files- TTS_X/tts.py +1 -1
TTS_X/tts.py
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
import openai
|
4 |
|
5 |
# حطي مفتاح OpenAI الخاص فيك هنا
|
6 |
-
openai.api_key = "
|
7 |
|
8 |
def generate_audio_from_text(text, voice="onyx", output_path="output.mp3"):
|
9 |
try:
|
|
|
3 |
import openai
|
4 |
|
5 |
# حطي مفتاح OpenAI الخاص فيك هنا
|
6 |
+
openai.api_key = "OPENAI_API_KEY"
|
7 |
|
8 |
def generate_audio_from_text(text, voice="onyx", output_path="output.mp3"):
|
9 |
try:
|