TechyCode's picture
Update README.md
e40d2f7 verified

A newer version of the Streamlit SDK is available: 1.45.0

Upgrade
metadata
title: Solar Industry AI Assistant
emoji: πŸŒ–
colorFrom: green
colorTo: purple
sdk: streamlit
sdk_version: 1.42.0
app_file: app.py
pinned: false

Solar Industry AI Assistant

A Streamlit-based web application that provides AI-powered responses to solar energy-related queries using Google's Gemini Pro model. The application features a user-friendly interface, chat history management, and solar domain-specific query filtering.

Features

  • πŸ€– AI-powered responses using Google's Gemini Pro model
  • β˜€οΈ Solar energy domain-specific query filtering
  • πŸ’¬ Interactive chat interface with history tracking
  • πŸ’Ύ Export chat history functionality
  • 🎨 Modern and responsive UI design
  • πŸ‘€ Developer profile and contact information

Installation

  1. Clone the repository:
git clone https://github.com/yourusername/solar-industry-ai-assistant.git
cd solar-industry-ai-assistant
  1. Install the required dependencies:
pip install -r requirements.txt
  1. Create a config.py file with your Google API key:
API_KEY = "your-google-api-key"

Usage

  1. Run the Streamlit application:
streamlit run test.py
  1. Open your web browser and navigate to the local URL provided by Streamlit (typically http://localhost:8501)

  2. Enter your solar energy-related questions in the text area and click "Get Answer"

Project Structure

  • test.py: Main application file containing the Streamlit UI and core functionality
  • filter.py: Module for filtering solar energy-related queries
  • config.py: Configuration file for API keys and other settings
  • requirements.txt: List of Python dependencies
  • README.md: Project documentation

Contributing

  1. Fork the repository
  2. Create a new branch for your feature
  3. Commit your changes
  4. Push to the branch
  5. Create a Pull Request

License

This project is licensed under the MIT License - see the LICENSE file for details.

Contact

Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference