Commit
·
da41eb2
1
Parent(s):
6e69e4e
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):
|