Image Super-Resolution as a service
Make sure you have Python installed on your system. This project has been
developed under 3.10 version.
Create a new virtual environment for this project:
python -m venv venvIf you have trouble with the previous step, try
python3instead.
Activate it depending on your operating system:
- Unix
source venv/bin/activate- Windows
.\venv\Scripts\Activate.ps1Later on, you can exit the virtual environment via
deactivatecommand.
After that, you can install the required dependencies.
pip install -r requirements.txtYou can run the server with the following command:
uvicorn api.main:app
# If you want to specify host address and port number.
uvicorn api.main:app --host 127.0.0.1 --port 8000Visit http://127.0.0.1:8000/docs to learn more about the API.
Make sure you have Node installed on your system. This project has been
developed under 17.6.0 version. You will also need npm 8.9.0 or higher.
You can run the following commands to install all the dependencies needed
cd client
npm iTo launch the server locally, execute the following command:
npm run dev