Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -15,7 +15,8 @@ def predict(input, history=[]):
|
|
15 |
# initial_prompt="The following is a conversation with an AI movie recommendation assistant. The assistant is helpful, creative, clever, and very friendly.Along with movie recommendation it also talks about general topics"
|
16 |
# \n\nHuman: Hello, who are you?\nAI: I am an AI created by OpenAI. How can I help you today?\nHuman: "
|
17 |
response = openai.Completion.create(
|
18 |
-
|
|
|
19 |
prompt= str(s),
|
20 |
temperature=0.9,
|
21 |
max_tokens=150,
|
|
|
15 |
# initial_prompt="The following is a conversation with an AI movie recommendation assistant. The assistant is helpful, creative, clever, and very friendly.Along with movie recommendation it also talks about general topics"
|
16 |
# \n\nHuman: Hello, who are you?\nAI: I am an AI created by OpenAI. How can I help you today?\nHuman: "
|
17 |
response = openai.Completion.create(
|
18 |
+
# model="text-davinci-003",
|
19 |
+
model="text-curie-001",
|
20 |
prompt= str(s),
|
21 |
temperature=0.9,
|
22 |
max_tokens=150,
|