Update train.py
Browse files
train.py
CHANGED
|
@@ -67,7 +67,7 @@ def main():
|
|
| 67 |
tok.save_pretrained(a.output)
|
| 68 |
print("✅ Done.", flush=True)
|
| 69 |
|
| 70 |
-
if
|
| 71 |
try:
|
| 72 |
main()
|
| 73 |
except Exception as e:
|
|
|
|
| 67 |
tok.save_pretrained(a.output)
|
| 68 |
print("✅ Done.", flush=True)
|
| 69 |
|
| 70 |
+
if __name__ == "__main__":
|
| 71 |
try:
|
| 72 |
main()
|
| 73 |
except Exception as e:
|