Update app.py
Browse files
app.py
CHANGED
@@ -31,7 +31,7 @@ def evaluate(
|
|
31 |
|
32 |
lang = detect(message)
|
33 |
|
34 |
-
if os.environ["PROMPT2"] not in message
|
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",
|