Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -5,8 +5,9 @@ import openai
|
|
5 |
|
6 |
def Question(Ask_Question):
|
7 |
# pass the generated text to audio
|
8 |
-
openai.api_key = "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"
|
9 |
-
|
|
|
10 |
model_engine = "text-davinci-003"
|
11 |
#prompt = "who is alon musk?"
|
12 |
# Generate a response
|
|
|
5 |
|
6 |
def Question(Ask_Question):
|
7 |
# pass the generated text to audio
|
8 |
+
# openai.api_key = "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"
|
9 |
+
openai.api_key = "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"
|
10 |
+
# Set up the model and prompt
|
11 |
model_engine = "text-davinci-003"
|
12 |
#prompt = "who is alon musk?"
|
13 |
# Generate a response
|