diff --git a/.gitignore b/.gitignore index da62613..437f417 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,6 @@ +# Config +config.py + # Unsloth _unsloth_sentencepiece_temp/ diff --git a/README.md b/README.md index 6c5d0dd..b589825 100644 --- a/README.md +++ b/README.md @@ -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. -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`. diff --git a/config.py b/config_example.py similarity index 100% rename from config.py rename to config_example.py