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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -29,7 +29,7 @@ def evaluate(
29
 
30
  df_result = pd.DataFrame([[instruction, input, None, None],],columns=["instruction" ,"input", "output", "total_tokens"])
31
 
32
- lang = detect(message)
33
 
34
  if os.environ["PROMPT2"] not in message or lang == "ja":
35
  response = openai.ChatCompletion.create(
 
29
 
30
  df_result = pd.DataFrame([[instruction, input, None, None],],columns=["instruction" ,"input", "output", "total_tokens"])
31
 
32
+ lang = detect(instruction)
33
 
34
  if os.environ["PROMPT2"] not in message or lang == "ja":
35
  response = openai.ChatCompletion.create(