Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

NotShrirang/AutoUI

AutoUI

AutoUI Logo

Streamlit App GitHub License Python Version Gemini API

Automated UI generator that creates Streamlit interfaces from natural language prompts using Google's Gemini API 🤖

Table of Contents

Overview

AutoUI is a powerful Streamlit application that automatically generates user interfaces based on natural language prompts. It uses the Google Gemini API to interpret user queries and dynamically create interactive UI components that respond to user needs.

Features

  • Dynamic UI Generation: Convert natural language descriptions into functional Streamlit UI components
  • Web Search Integration: Access real-time information from the web to enhance responses
  • AI-Powered Responses: Process and display information using Google's Gemini model
  • Real-time Interaction: Get immediate feedback and UI updates based on your queries

Requirements

  • Python 3.8+
  • Google Gemini API key
  • Required Python packages (see requirements.txt)

Installation

  1. Clone the repository:
git clone https://github.com/yourusername/AutoUI.git
cd AutoUI
  1. Install the required packages:
pip install -r requirements.txt
  1. Create a .env file in the project root directory with your Google Gemini API key:
GEMINI_API_KEY=your_api_key_here

Usage

  1. Start the Streamlit application:
streamlit run main.py
  1. Access the application through your web browser at localhost:8501

  2. Enter a natural language query in the input field describing the UI you want to generate

    • Example: "Create a dashboard showing stock prices with a date selector"
    • Example: "Make a form for user registration with validation"
  3. The application will generate the appropriate UI components based on your query

Examples

Here are some example prompts you can try:

Create a data visualization for stock prices
Build a form for capturing user feedback with ratings and comments
Generate a dashboard showing weather information for different cities
Create a multi-step wizard for a registration process

License

This project is licensed under the GNU General Public License v3.0 - see the LICENSE file for details.

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

About

Automated UI generator that creates Streamlit interfaces from natural language prompts using Google's Gemini API 🤖

Topics

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Contributors

Languages

AltStyle によって変換されたページ (->オリジナル) /