Omnibus commited on
Commit
478d307
1 Parent(s): 2d933e2

Update app.py

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