Python-based server for handling machine learning predictions
- Python 3.x installed on your machine.
- Visual Studio (or your preferred IDE).
-
Create a Virtual Environment
Navigate to your project directory in the terminal or command prompt, then run:
python -m venv .venv
-
Activate the Virtual Environment Each time after opening Visual Studio or a terminal, to activate the virtual environment. Use the following command:
On Windows:
.venv\Scripts\activate
On macOS/Linux:
source .venv/bin/activate
- Run the Server
Once the virtual environment is activated, Use the following command:
python server.py