Spaces:
Sleeping
Sleeping
Commit
路
5f93979
1
Parent(s):
e9c71cc
Update app.py
Browse files
app.py
CHANGED
@@ -5,7 +5,7 @@ import subprocess
|
|
5 |
from gtts import gTTS
|
6 |
from pydub import AudioSegment
|
7 |
|
8 |
-
openai.api_key = "
|
9 |
|
10 |
def generate_output(name, date_of_birth, progress=gr.Progress()):
|
11 |
prompt = f"{name}, tu mi or谩culo astrol贸gico de hoy es:"
|
|
|
5 |
from gtts import gTTS
|
6 |
from pydub import AudioSegment
|
7 |
|
8 |
+
openai.api_key = os.environ.get ("openai_api_key")
|
9 |
|
10 |
def generate_output(name, date_of_birth, progress=gr.Progress()):
|
11 |
prompt = f"{name}, tu mi or谩culo astrol贸gico de hoy es:"
|