kunishou commited on
Commit
c01e800
·
1 Parent(s): c8d4098

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -4
app.py CHANGED
@@ -24,10 +24,8 @@ def evaluate(
24
  ):
25
 
26
  message = f'{instruction} {os.environ["PROMPT"]} {input}'
27
- # message = f'{instruction} {input}'
28
-
29
- if len(message) > 200:
30
- message = message[:200]
31
 
32
  df_result = pd.DataFrame([[instruction, input, None, None],],columns=["instruction" ,"input", "output", "total_tokens"])
33
 
 
24
  ):
25
 
26
  message = f'{instruction} {os.environ["PROMPT"]} {input}'
27
+
28
+ message = message[:200]
 
 
29
 
30
  df_result = pd.DataFrame([[instruction, input, None, None],],columns=["instruction" ,"input", "output", "total_tokens"])
31