Jin Ziqi commited on
Commit
591d766
·
1 Parent(s): 497462a

Add application file

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -20,7 +20,7 @@ import sys
20
 
21
  openai.api_key = os.getenv("api_key")
22
 
23
- def greet(question):
24
  input = question + '\n\n' + "|step|subquestion|process|result|"
25
  response = openai.ChatCompletion.create(
26
  model="gpt-3.5-turbo",
 
20
 
21
  openai.api_key = os.getenv("api_key")
22
 
23
+ def greet(question="Xiaoming have 3 apples and he eats 1. After that he share half of them to Mei. How many apples he left?"):
24
  input = question + '\n\n' + "|step|subquestion|process|result|"
25
  response = openai.ChatCompletion.create(
26
  model="gpt-3.5-turbo",