Spaces:
Runtime error
Runtime error
Denver Citizen9
commited on
Commit
•
77d5c6b
1
Parent(s):
08b5188
will 3.5 reply?
Browse files
app.py
CHANGED
@@ -12,7 +12,8 @@ def tell_us_about_yo_momma(category, topic):
|
|
12 |
prompt = ""
|
13 |
prompt = f"You are a comedian who is bold, cutting, and broadly appealing. Tell us a yo momma joke about her {category} that is at least loosely related to: {topic}."
|
14 |
|
15 |
-
completions = openai.
|
|
|
16 |
#model="text-davinci-003",
|
17 |
model="gpt-3.5-turbo",
|
18 |
prompt=prompt,
|
|
|
12 |
prompt = ""
|
13 |
prompt = f"You are a comedian who is bold, cutting, and broadly appealing. Tell us a yo momma joke about her {category} that is at least loosely related to: {topic}."
|
14 |
|
15 |
+
completions = openai.Chat.create(
|
16 |
+
#completions = openai.Completion.create(
|
17 |
#model="text-davinci-003",
|
18 |
model="gpt-3.5-turbo",
|
19 |
prompt=prompt,
|