Local Installation Autotrain Token Issue
Hi Everyone,I am having trouble running autotrain locally. I have done all the setup detailed inGitHub - huggingface/autotrain-advanced: 🤗 AutoTrain Advancedbut when I go to localhost:8080 i get HF_TOKEN invalid or expired. I have exported the token in my conda session but still it doesn’t seem to work. Is there a doc that I am supposed to edit that I don’t know of? If so, where is this doc as I only see autotrain, autotrain.db, and autotrain.log in the current directory. Thank You!
2024-10-29T05:56:56Z
I think it has to be set in an environment variable. If it still doesn’t work, it may be a bug.github.com/huggingface/autotrain-advanced[BUG] autotrain app doesn't work even with HF_TOKEN env var setopened09:14PM - 09 Apr 24 UTCclosed09:04AM - 18 Apr 24 UTCdhruv-anand-aintechbug### Prerequisites

- [X] I have read the [documentation](https://hf.co/docs/au…totrain).
- [X] I have checked other issues for similar problems.

### Backend

Local

### Interface Used

CLI

### CLI Command

autotrain app

### UI Screenshots & Parameters

I have set HF_TOKEN env variable locally (verified by doing `echo $HF_TOKEN`)

### Error Logs

```
(base) ➜  ~ autotrain app                                    [24/04/10| 2:34AM]
> ERROR   HF_TOKEN not set
Traceback (most recent call last):
  File "/Users/dhruvanand/miniforge3/bin/autotrain", line 8, in <module>
    sys.exit(main())
  File "/Users/dhruvanand/miniforge3/lib/python3.10/site-packages/autotrain/cli/autotrain.py", line 50, in main
    command.run()
  File "/Users/dhruvanand/miniforge3/lib/python3.10/site-packages/autotrain/cli/run_app.py", line 51, in run
    from autotrain.app import app
  File "/Users/dhruvanand/miniforge3/lib/python3.10/site-packages/autotrain/app.py", line 38, in <module>
    raise ValueError("HF_TOKEN environment variable is not set")
ValueError: HF_TOKEN environment variable is not set
```

### Additional Information

I read through https://github.com/huggingface/autotrain-advanced/issues/279