Denver Citizen9 commited on
Commit
842f3be
1 Parent(s): 77d5c6b
Files changed (1) hide show
  1. app.py +2 -4
app.py CHANGED
@@ -12,10 +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.Chat.create(
16
- #completions = openai.Completion.create(
17
- #model="text-davinci-003",
18
- model="gpt-3.5-turbo",
19
  prompt=prompt,
20
  max_tokens=512,
21
  n=1,
 
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.Completion.create(
16
+ model="text-davinci-003",
 
 
17
  prompt=prompt,
18
  max_tokens=512,
19
  n=1,