Jin Ziqi commited on
Commit
92defdb
1 Parent(s): 32a13ea

Add application file

Browse files
Files changed (2) hide show
  1. app.py +2 -0
  2. requirements.txt +1 -1
app.py CHANGED
@@ -18,6 +18,8 @@ import datetime
18
  import pandas as pd
19
  import sys
20
 
 
 
21
  def greet(question):
22
  input = question + '\n\n' + "|step|subquestion|process|result|"
23
  response = openai.ChatCompletion.create(
 
18
  import pandas as pd
19
  import sys
20
 
21
+ openai.api_key = ""
22
+
23
  def greet(question):
24
  input = question + '\n\n' + "|step|subquestion|process|result|"
25
  response = openai.ChatCompletion.create(
requirements.txt CHANGED
@@ -1,4 +1,4 @@
1
- openai==0.25.0
2
  torch==1.13.1
3
  pandas==1.5.2
4
  torchtext==0.14.1
 
1
+ openai==0.27.0
2
  torch==1.13.1
3
  pandas==1.5.2
4
  torchtext==0.14.1