Skip to content

Doriandarko/Moondream2-streamlit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Moondream2 Vision Model Streamlit App

This is a Streamlit app that uses the Moondream2 Vision Model to generate text based on an uploaded image and a user-provided prompt.

Features

  • Upload an image in PNG or JPEG format.
  • Enter a prompt to guide the text generation.
  • Generate text based on the uploaded image and prompt.

How to Run

  1. Install the required Python packages:
pip install -r requirements.txt
  1. Run the Streamlit app:
streamlit run vision.py
  1. Open the app in your web browser at http://localhost:8501.

Usage

  1. Upload an image using the file uploader.
  2. Enter a prompt in the text input field.
  3. Click the "Generate" button to generate text based on the image and prompt.

About the Model

The Moondream1 Vision Model is a small but powerful vision model that outperforms models twice its size. It was created by @vikhyatk.

License

This project is open source under the MIT license.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages