huggingface / autotrain-advanced

🤗 AutoTrain Advanced
https://huggingface.co/autotrain
Apache License 2.0
3.63k stars 441 forks source link

logging, termination for Windows users on run_app.py #657

Closed gulf1324 closed 1 month ago

gulf1324 commented 1 month ago

logging, terminating code changes for Windows users with if sys.platform, else statement.

abhishekkrthakur commented 1 month ago

after these changes are you able to use the app and train models on windows?

gulf1324 commented 1 month ago

@abhishekkrthakur Yes, I haven't tested all kinds of trainings, but tested with ImageClassification/google-vit-base-patch16-224, it works.

abhishekkrthakur commented 1 month ago

via WSL?

gulf1324 commented 1 month ago

No, just on local machine with Windows11

abhishekkrthakur commented 1 month ago

could you fix code quality? run: make style && make quality

HuggingFaceDocBuilderDev commented 1 month ago

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

gulf1324 commented 1 month ago

@abhishekkrthakur I've fixed the code quality!👍