Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -4,8 +4,8 @@ import openai
|
|
| 4 |
|
| 5 |
def Question(Ask_Question):
|
| 6 |
# pass the generated text to audio
|
| 7 |
-
|
| 8 |
-
openai.api_key = os.environ.get('ApiKey')
|
| 9 |
|
| 10 |
# Set up the model and prompt
|
| 11 |
model_engine = "text-davinci-003"
|
|
|
|
| 4 |
|
| 5 |
def Question(Ask_Question):
|
| 6 |
# pass the generated text to audio
|
| 7 |
+
openai.api_key = "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"
|
| 8 |
+
#openai.api_key = os.environ.get('ApiKey')
|
| 9 |
|
| 10 |
# Set up the model and prompt
|
| 11 |
model_engine = "text-davinci-003"
|