Omnibus commited on
Commit
e9cc910
·
verified ·
1 Parent(s): 9c1210f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -113,7 +113,7 @@ def generate(prompt, history,max_new_tokens,health,temperature=temperature,top_p
113
  for z in range(1,5):
114
  try:
115
  if f'{z}.' in lines[i+z+1]:
116
- print(lines[i+z].split(f'{z}.')[1])
117
  opts.append(lines[i+z+1].split(f'{z}.')[1])
118
  except Exception as e:
119
  print(e)
 
113
  for z in range(1,5):
114
  try:
115
  if f'{z}.' in lines[i+z+1]:
116
+ print(lines[i+z+1].split(f'{z}.')[1])
117
  opts.append(lines[i+z+1].split(f'{z}.')[1])
118
  except Exception as e:
119
  print(e)