Skip to content

Anoobee/SimplifAI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

64 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SimplifAI

SimplifAI is a versatile medical text interpreter and summarizer designed to make understanding medical information easier for everyone. This app allows users to upload medical reports and receive summaries tailored to three levels of understanding: common, intermediate, and doctor. Users can choose the mode that best suits their needs, ensuring the information is accessible and comprehensible.

Features:

  • Medical Report Interpretation and summarization.
  • Interactive ChatBot: Ask any medical-related questions and get answers tailored to your selected level of understanding and preferred language.

Modes available:

  • Common: For general public use, with simplified language.
  • Intermediate: For users with some medical knowledge.
  • Doctor: For healthcare professionals needing detailed and technical information.

Languages available:

  • English
  • Nepali

Screenshots

Login and Home

App Screenshot App Screenshot

Modes and Chat

App Screenshot App Screenshot

In Nepali

App Screenshot App Screenshot

Original Creator

Requirement

  • 8GB RAM
  • Strong CPU

Demo,Instructions And Slides

Prerequisites:

This is using Ollama as the inference engine, and it's running the anoob/simp2 quantized version

Install ollama:

Option 1:

curl -fsSL https://ollama.com/install.sh | sh

Option 2:

download ollama from https://ollama.com/download

After installation, to pull the required model using Ollama, use the command below:

ollama run anoob/simp2

Test if the model is correctly installed and running by sending a request:

curl http://localhost:11434/api/generate -d '{
  "model": "anoob/simp2",
  "prompt":"Who are you?"
}'

If you wish to chat in Nepali

# Make sure you have git-lfs installed (https://git-lfs.com)
git lfs install

# update the path for translator in backend/simplifai/reports/to_nepali.py file to the directory where you clone this 
git clone https://huggingface.co/rujengelal/my_awesome_english_to_nepali_tst

Set up a virtual environment and activate it:

python3 -m venv .env
source .env/bin/activate

Install all the necessary Python packages from the requirements file:

pip3 install -r requirements.txt

Then import following libraries

pip3 install Django==5.0.6
pip3 install djangorestframework==3.15.2
pip3 install django-cors-headers
python3 -m pip install paddlepaddle -i https://mirror.baidu.com/pypi/simple
pip3 install langchain_community
pip3 install paddleocr

Run Backend

navigate to backend\simplifai

python3 manage.py runserver

Run Frontend in Dev Mode.

navigate to SimplifAI\frontend

   npm install
   npm run dev

Build PWA for your Mobile Devices

npm run build
npx serve dist

-Hit the Local Network IP as indicated on the Terminal
-Save the PWA.

Note

login as guest

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •