Giter Club home page Giter Club logo

gemini-pro-hub's Introduction

Gemini Hub Streamlit App

Gemini Pro Hub is a Streamlit app that integrates various features powered by Google's GEMINI models, including a chatbot, image captioning, and text embedding.

Usage

  1. ChatBot: Interact with the Gemini Pro model for conversational AI. Simply type your message in the input box and the chatbot will respond.

  2. Image Captioning: Upload an image and get a descriptive caption generated by the Gemini-Pro-Vision model. Click the "Generate Caption" button to see the result.

  3. Embed text: Enter text in the text area to convert it into embeddings using the embeddings-001 model. Click the "Get Response" button to view the embeddings.

  4. About: Learn more about this Gemini Hub, including the models used for each feature.

Getting Started

To run the app locally, follow these steps:

  1. Clone this repository to your local machine.

    git clone https://github.com/hardikjp7/Gemini-Pro-Hub.git
  2. Install the required dependencies by running the following command in your terminal:

    pip install -r requirements.txt
  3. Run the Streamlit app by executing the following command in your terminal:

    streamlit run main.py
  4. Set up your Gemini API Key by entering it in the sidebar of the app.

Project Structure

  • app.py: Contains the Streamlit app code.
  • gemini.py: Contains functions for interacting with the Gemini models.
  • requirements.txt: Contains the required Python packages.
  • logo.png: Icon for the Streamlit app menu.

Deployment

This project is deployed publicly on Streamlit. You can access it by clicking in right side of title


Made with โค๏ธ by Hardik

gemini-pro-hub's People

Contributors

hardikjp7 avatar

Stargazers

 avatar

Watchers

 avatar  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.