Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -118,7 +118,7 @@ def generate(prompt, history,max_new_tokens,health,temperature=temperature,top_p
|
|
118 |
except Exception as e:
|
119 |
print(e)
|
120 |
pass
|
121 |
-
if ": " in line[:
|
122 |
try:
|
123 |
lab_1 = line.split(": ")[0]
|
124 |
|
|
|
118 |
except Exception as e:
|
119 |
print(e)
|
120 |
pass
|
121 |
+
if ": " in line[:20]:
|
122 |
try:
|
123 |
lab_1 = line.split(": ")[0]
|
124 |
|