https://github.com/anras5/opti-diagnose
Diagnose your patients with AI
https://github.com/anras5/opti-diagnose
deep-learning django-rest-framework mlops pytorch react
Last synced: 4 months ago
JSON representation
Diagnose your patients with AI
- Host: GitHub
- URL: https://github.com/anras5/opti-diagnose
- Owner: anras5
- Created: 2024-10-12T12:06:19.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2025-01-25T14:20:15.000Z (4 months ago)
- Last Synced: 2025-01-25T14:23:50.977Z (4 months ago)
- Topics: deep-learning, django-rest-framework, mlops, pytorch, react
- Language: JavaScript
- Homepage:
- Size: 235 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Opti Diagnose
# Running the project
1. Create `.env` file in the root directory and add the following environment variables:```
DEBUG=True
SECRET_KEY='abcdefghijklmnopqrstuvwxyz1234567890'
ALLOWED_HOSTS=*
DATABASE_URL=postgres://postgres:secretpassword@postgres:5432/optidiagnosedbPOSTGRES_USER=postgres
POSTGRES_PASSWORD=secretpassword
POSTGRES_DB=optidiagnosedb
```2. Download `.mar` model archive files from [releases page](https://github.com/anras5/opti-diagnose/releases)
3. Put the `.mar` files inside `models/model_store` directory
4. Run using Docker Compose:
```
docker compose up
```5. If running for the first time:
```shell
docker exec -it opti-diagnose-api uv run optidiagnose/manage.py createsuperuser
```
Username and password specified here can be used to login to the app.If you would like to add additional users you can do it using `localhost:8088/admin` or using api `localhost:8088/api/user/`
Runs:
- frontend on `5173`
- backend on `8088` (use /admin to access admin panel)
- postgres on `54320`
- pytorch serve on `8080`, `8081`, `8082`# User Interface



