Git Product home page Git Product logo

macierai_pub's Introduction

๐Ÿš€ Ollama x Streamlit Playground

This project demonstrates how to run and manage models locally using Ollama by creating an interactive UI with Streamlit.

The app has a page for running chat-based models and also one for nultimodal models (llava and bakllava) for vision.

App in Action

GIF

Check out the video tutorial ๐Ÿ‘‡

Watch the video

Features

  • Interactive UI: Utilize Streamlit to create a user-friendly interface.
  • Local Model Execution: Run your Ollama models locally without the need for external APIs.
  • Real-time Responses: Get real-time responses from your models directly in the UI.

Installation

Before running the app, ensure you have Python installed on your machine. Then, clone this repository and install the required packages using pip:

git clone https://github.com/tonykipkemboi/ollama_streamlit_demos.git
cd ollama_streamlit_demos
pip install -r requirements.txt

Usage

To start the app, run the following command in your terminal:

streamlit run 01_๐Ÿ’ฌ_Chat_Demo.py

Navigate to the URL provided by Streamlit in your browser to interact with the app.

NB: Make sure you have downloaded Ollama to your system.

Contributing

Interested in contributing to this app?

  • Great!
  • I welcome contributions from everyone.

Got questions or suggestions?

  • Feel free to open an issue or submit a pull request.

Acknowledgments

๐Ÿ‘ Kudos to the Ollama team for their efforts in making open-source models more accessible!

macierai_pub's People

Contributors

tonykipkemboi avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.