royliuyu/Image-to-text-by-locally-deployed-DeepSeek

Image understaning and chatting playground website with DeepSeek Janus locally deployed, engined with DeepSeek Janus Pro 1B + FastAPI

5

stars

8

commits

Python

primary language

Feb 10, 2025

updated

README

🚀 Image understanding playground, engined with DeepSeek Janus Pro 1B + FastAPI

  • This repository is the source code of website, which supports AI image reasonning locally as a server
  • Website is built by using FastAPI
  • Local AI engine is Deepseek Janus Pro 1B, the Multimodal Understanding and Generation Models
  • Below is a screenshot of demo

Demo

Prerequisites:

  • Python 3.10, anaconda
  • PyTorch >=2.0.1
  • CUDA, GPU suggests no lower than Nvidia RTX3090
  • Ubuntu 22.04/20.04

Installation:

  • Clone this repository and enter to this repository name

  • Create conda environment (optional), e.g. name of web

  • Install dependencies in your prefered environment:

    cd img_chat_deepseek
    conda create --name web python=3.10
    conda activate web
    pip install -e .  
    

Copy weights of Janus

Implement

  • Enter to this repository folder
  • Under img_chat folder, start server:
  uvicorn app.main:app --reload
  • visit 127.0.0.1:8000 in browser

Acknowledgement

  • The AI model is forked on deepseek-ai Janus.
  • Janus' source code is under the folder of "Janus"

Contributors

royliuyu

8 commits

royliuyu/Image-to-text-by-locally-deployed-DeepSeek

Image understaning and chatting playground website with DeepSeek Janus locally deployed, engined with DeepSeek Janus Pro 1B + FastAPI

5

stars

8

commits

Python

primary language

Feb 10, 2025

updated

README

🚀 Image understanding playground, engined with DeepSeek Janus Pro 1B + FastAPI

  • This repository is the source code of website, which supports AI image reasonning locally as a server
  • Website is built by using FastAPI
  • Local AI engine is Deepseek Janus Pro 1B, the Multimodal Understanding and Generation Models
  • Below is a screenshot of demo

Demo

Prerequisites:

  • Python 3.10, anaconda
  • PyTorch >=2.0.1
  • CUDA, GPU suggests no lower than Nvidia RTX3090
  • Ubuntu 22.04/20.04

Installation:

  • Clone this repository and enter to this repository name

  • Create conda environment (optional), e.g. name of web

  • Install dependencies in your prefered environment:

    cd img_chat_deepseek
    conda create --name web python=3.10
    conda activate web
    pip install -e .  
    

Copy weights of Janus

Implement

  • Enter to this repository folder
  • Under img_chat folder, start server:
  uvicorn app.main:app --reload
  • visit 127.0.0.1:8000 in browser

Acknowledgement

  • The AI model is forked on deepseek-ai Janus.
  • Janus' source code is under the folder of "Janus"

Contributors

royliuyu

8 commits

Languages

Python

66.6%

Jupyter Notebook

30.5%

JavaScript

1.0%