Skip to content

This repository contains a simple Streamlit application that utilizes Google's Generative AI to generate content based on a user-provided image. Specifically, the application takes an image as input and generates a text response related to tax calculations based on the visual content.

License

Notifications You must be signed in to change notification settings

naga1992/takehomecalculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Overview:

This repository contains a simple Streamlit application that utilizes Google's Generative AI to generate content based on a user-provided image. Specifically, the application takes an image as input and generates a text response related to tax calculations based on the visual content.

Try it out in Streamlit

Streamlit App

Prerequisites:

  1. Python 3.x
  2. Streamlit
  3. Google Generative AI package (google.generativeai)
  4. PIL (Pillow) library for image processing

Setup:

  1. Installation:

    • Install the necessary Python packages using pip:
       pip install -r requirements.txt
      
  2. API Key:

Usage:

  1. Running the Application:

    • Navigate to the directory containing the code.
    • Run the Streamlit application using the following command:
      streamlit run takehomecalc.py
      
  2. Input Requirements:

    • Upload an image file using the file uploader in the Streamlit sidebar.
    • Provide your Gemini Pro key in the specified text input field.
    • Click the "Submit" button to initiate the content generation process.
  3. Output:

    • Upon successful execution, the application will display the generated text content related to tax calculations based on the uploaded image.

About

This repository contains a simple Streamlit application that utilizes Google's Generative AI to generate content based on a user-provided image. Specifically, the application takes an image as input and generates a text response related to tax calculations based on the visual content.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages