/gemini-ui-to-code

A Streamlit application to generate code from images

Primary LanguagePython

Gemini UI to Code Streamlit App

This Streamlit app is designed to convert UI designs into code using the power of AI. It analyzes uploaded images of UI designs and generates corresponding HTML code, making it easier for developers to bring their designs to life.

Installation

To install the necessary dependencies, run the following command:

pip install -r requirements.txt

Running the App

To run the app, use the following command:

streamlit run app.py

Configuration

Before running the app, you need to configure your API key in the app.py file. Replace YOUR GEMINI KEY with your actual API key to enable the AI functionalities.

You can also select the Gemini model you want and even tell Gemini to use a specific CSS framework.