Update train.py
Browse files
train.py
CHANGED
|
@@ -90,7 +90,7 @@ def main():
|
|
| 90 |
tokenizer.save_pretrained(args.output)
|
| 91 |
print("✅ Done.", flush=True)
|
| 92 |
|
| 93 |
-
if
|
| 94 |
try:
|
| 95 |
main()
|
| 96 |
except Exception as e:
|
|
|
|
| 90 |
tokenizer.save_pretrained(args.output)
|
| 91 |
print("✅ Done.", flush=True)
|
| 92 |
|
| 93 |
+
if __name__ == "__main__":
|
| 94 |
try:
|
| 95 |
main()
|
| 96 |
except Exception as e:
|