A newer version of the Streamlit SDK is available:
1.45.0
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
- Clone the repository:
git clone https://github.com/yourusername/solar-industry-ai-assistant.git
cd solar-industry-ai-assistant
- Install the required dependencies:
pip install -r requirements.txt
- Create a
config.py
file with your Google API key:
API_KEY = "your-google-api-key"
Usage
- Run the Streamlit application:
streamlit run test.py
Open your web browser and navigate to the local URL provided by Streamlit (typically http://localhost:8501)
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 functionalityfilter.py
: Module for filtering solar energy-related queriesconfig.py
: Configuration file for API keys and other settingsrequirements.txt
: List of Python dependenciesREADME.md
: Project documentation
Contributing
- Fork the repository
- Create a new branch for your feature
- Commit your changes
- Push to the branch
- Create a Pull Request
License
This project is licensed under the MIT License - see the LICENSE file for details.
Contact
- Uditanshu Pandey
- Email: [email protected]
- LinkedIn: LinkedIn Profile
- GitHub: GitHub Profile
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference