don't commit the token this time

This commit is contained in:
James Shiffer 2024-04-07 16:08:49 -07:00
parent 278ac913b2
commit f840a7f321
3 changed files with 4 additions and 1 deletions

3
.gitignore vendored
View File

@ -1,3 +1,6 @@
# Config
config.py
# Unsloth # Unsloth
_unsloth_sentencepiece_temp/ _unsloth_sentencepiece_temp/

View File

@ -18,6 +18,6 @@ Set up [Pytorch](https://pytorch.org/get-started/locally/) followed by [Unsloth]
Install the `ffmpeg` and `sox` packages, you may have to get ffmpeg from `conda-forge` if it complains about missing shared libraries when you try to run it. Install the `ffmpeg` and `sox` packages, you may have to get ffmpeg from `conda-forge` if it complains about missing shared libraries when you try to run it.
Run `pip -r requirements.txt` to get the rest of the dependencies. Run `pip -r requirements.txt` to get the rest of the dependencies. Then, copy `config_example.py` to `config.py` and change the settings accordingly.
Start the web server using `uvicorn api:app --host=0.0.0.0 --port=8000`. You can test the endpoints at `http://localhost:8000/docs`. Start the web server using `uvicorn api:app --host=0.0.0.0 --port=8000`. You can test the endpoints at `http://localhost:8000/docs`.