jmeadows17
commited on
Commit
•
8f65215
1
Parent(s):
ef39e18
Update MathT5.py
Browse files
MathT5.py
CHANGED
@@ -15,7 +15,7 @@ def pretty_print(text, prompt=True):
|
|
15 |
else:
|
16 |
for equation in text.split("and"):
|
17 |
s += equation + "\n\n\n"
|
18 |
-
return print(s[:-
|
19 |
|
20 |
|
21 |
def load_model(model_id):
|
|
|
15 |
else:
|
16 |
for equation in text.split("and"):
|
17 |
s += equation + "\n\n\n"
|
18 |
+
return print(s[:-3])
|
19 |
|
20 |
|
21 |
def load_model(model_id):
|