Omnibus commited on
Commit
f9984fb
·
verified ·
1 Parent(s): 9364547

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -107,7 +107,7 @@ def generate(prompt, history,max_new_tokens,health,temperature=temperature,top_p
107
  skill_dict={}
108
  new_stat="*******************\n"
109
  for i,line in enumerate(lines):
110
- if ": " in line:
111
  for z in range(1,5):
112
  try:
113
  if f'{z}' in lines[i+z]:
 
107
  skill_dict={}
108
  new_stat="*******************\n"
109
  for i,line in enumerate(lines):
110
+ if ":" in line:
111
  for z in range(1,5):
112
  try:
113
  if f'{z}' in lines[i+z]: