2ch commited on
Commit
b680674
·
verified ·
1 Parent(s): cd9add1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -15,6 +15,8 @@ textarea {
15
  openai.api_key = os.environ['OPENAI_API_KEY']
16
  openai.api_base = os.environ['API_URL']
17
 
 
 
18
  def predict(message, history, temperature):
19
  history_openai_format = []
20
  for human, assistant in history:
 
15
  openai.api_key = os.environ['OPENAI_API_KEY']
16
  openai.api_base = os.environ['API_URL']
17
 
18
+ print(os.environ['OPENAI_API_KEY'], os.environ['API_URL'])
19
+
20
  def predict(message, history, temperature):
21
  history_openai_format = []
22
  for human, assistant in history: