There are various causes for 401 errors, but the simplest case is a token error.
Setting the Read token to the HF_TOKEN environment variable in conda container may resolve the issue.
opened 06:40AM - 14 Sep 24 UTC
closed 03:02PM - 04 Nov 24 UTC
bug
stale
### Prerequisites
- [X] I have read the [documentation](https://hf.co/docs/auto… train).
- [X] I have checked other issues for similar problems.
### Backend
Local
### Interface Used
UI
### CLI Command
app --port 8081 --host 0.0.0.0
### UI Screenshots & Parameters
warnings.warn(msg, RuntimeWarning)
INFO | 2024-09-14 09:36:40 | autotrain.app.ui_routes:<module>:32 - Starting AutoTrain...
INFO | 2024-09-14 09:36:53 | autotrain.app.ui_routes:<module>:294 - AutoTrain started successfully
INFO | 2024-09-14 09:36:53 | autotrain.app.app:<module>:13 - Starting AutoTrain...
INFO | 2024-09-14 09:36:53 | autotrain.app.app:<module>:23 - AutoTrain version: 0.8.9
INFO | 2024-09-14 09:36:53 | autotrain.app.app:<module>:24 - AutoTrain started successfully
INFO: Started server process [36640]
INFO: Waiting for application startup.
INFO: Application startup complete.
INFO: Uvicorn running on http://192.168.20.172:8081 (Press CTRL+C to quit)
INFO: 192.168.20.172:65436 - "GET / HTTP/1.1" 307 Temporary Redirect
INFO: 192.168.20.172:65436 - "GET /ui/ HTTP/1.1" 401 Unauthorized
### Error Logs
warnings.warn(msg, RuntimeWarning)
INFO | 2024-09-14 09:36:40 | autotrain.app.ui_routes:<module>:32 - Starting AutoTrain...
INFO | 2024-09-14 09:36:53 | autotrain.app.ui_routes:<module>:294 - AutoTrain started successfully
INFO | 2024-09-14 09:36:53 | autotrain.app.app:<module>:13 - Starting AutoTrain...
INFO | 2024-09-14 09:36:53 | autotrain.app.app:<module>:23 - AutoTrain version: 0.8.9
INFO | 2024-09-14 09:36:53 | autotrain.app.app:<module>:24 - AutoTrain started successfully
INFO: Started server process [36640]
INFO: Waiting for application startup.
INFO: Application startup complete.
INFO: Uvicorn running on http://192.168.20.172:8081 (Press CTRL+C to quit)
INFO: 192.168.20.172:65436 - "GET / HTTP/1.1" 307 Temporary Redirect
INFO: 192.168.20.172:65436 - "GET /ui/ HTTP/1.1" 401 Unauthorized
### Additional Information
_No response_