Spaces:
Running
Running
Update app.py
Browse files
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
|
114 |
-
print(lines[i+z
|
115 |
-
opts.append(lines[i+z
|
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
|