- download the repositry and
- use "docker compose up" to get started the application
├── app
│ └─── __init__.py
│ └─── main.py
├── inputs
│ └─── best_model.tar
│ └─── drug_set.json
│ └─── sample_json_data.py
│ └─── test_input.py
│ └─── unwanted_smiles.py
├── model
│ └─── __init__.py
│ └─── load_model.py
│ └─── model.py
│ └─── predict_json.py
├── tests
│ └─── __init__.py
│ └─── test_solubility_json.py
│ └─── test_solubility.py
├── .dockerignore
├── .gitignore
├── Dockerfile
├── entrypoint.sh
├── gunicorn.config.py
├── Procfile
├── requirements.txt
├── README.md
Appfolder containsmain.pywhere we handle api calling and posts responsesinputsfolder contains all the inputs required for the model to workmodelfolder containsmodel.pyfile where all the machine learning code is present.load_model.pycontains the code to load the model. If you want to use a custom model load the model ininputsfolder and provide the path inload_model.py.predict_json.pycontains the code to load the load all the similes ininputs/drug_set.jsonfile and converts them to do predictions.testsfolder contains thetest_solubility_json.pyandtest_solubility.pyto do unit testsDockerfileused to deploy this in a containerentrypoint.shconatins the starting command to start the fastapi in docker after deploying and run background workersrequirements.txtcontains all the required modules for this repository