kunishou commited on
Commit
ba7ac1e
·
verified ·
1 Parent(s): 6700913

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -31,7 +31,7 @@ def evaluate(
31
 
32
  lang = detect(message)
33
 
34
- if os.environ["PROMPT2"] not in message and lang == "ja":
35
  response = openai.ChatCompletion.create(
36
  model="gpt-3.5-turbo",
37
  # model="gpt-4",
 
31
 
32
  lang = detect(message)
33
 
34
+ if os.environ["PROMPT2"] not in message or lang == "ja":
35
  response = openai.ChatCompletion.create(
36
  model="gpt-3.5-turbo",
37
  # model="gpt-4",