Spaces:
Sleeping
Sleeping
Update train.py
Browse files
train.py
CHANGED
|
@@ -96,7 +96,7 @@ def main():
|
|
| 96 |
tokenizer.save_pretrained(args.output)
|
| 97 |
print("✅ Done.", flush=True)
|
| 98 |
|
| 99 |
-
if
|
| 100 |
try:
|
| 101 |
main()
|
| 102 |
except Exception as e:
|
|
|
|
| 96 |
tokenizer.save_pretrained(args.output)
|
| 97 |
print("✅ Done.", flush=True)
|
| 98 |
|
| 99 |
+
if __name__ == "__main__":
|
| 100 |
try:
|
| 101 |
main()
|
| 102 |
except Exception as e:
|