Welcome to the Python Play repository!
This workspace is dedicated to experimenting with Python code and exploring various programming concepts using Huggingface and locally hosted models as well as other custom endpoint implements.
- Clone the repository:
git clone https://github.com/your-username/python-play.git
- Navigate to the project directory:
cd python-play
- Install the required dependencies:
python -m pip install --upgrade pip pip install -r requirements.txt pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu126 pip install "fastapi[standard]"
You can start the fastapi server by typing:
fastapi dev main.py
Happy coding!