File size: 1,270 Bytes
107707b |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 |
---
title: DDS AI Project Assistant
emoji: 🤖
colorFrom: indigo
colorTo: green
sdk: gradio
sdk_version: 4.0.0
app_file: app.py
pinned: false
---
# DDS AI Project Assistant
A Generative AI project assistant powered by OpenAI GPT.
## Setup Instructions
### Local Development
1. Clone the repository
2. Create a `.env` file with your OpenAI API key:
```
OPENAI_API_KEY=your-api-key-here
```
3. Install dependencies:
```
pip install -r requirements.txt
```
4. Run the app:
```
python app.py
```
### Hugging Face Spaces Deployment
1. Create a new Space on Hugging Face
2. Choose "Gradio" as the SDK
3. Add your OpenAI API key as a secret:
- Go to Settings > Repository Secrets
- Add `OPENAI_API_KEY` with your API key
4. Upload the following files:
- app_hf.py (rename to app.py in Spaces)
- ai_wrapper.py
- requirements.txt
## Features
- Interactive AI project brainstorming
- Code generation assistance
- 10 popular GenAI project templates
- Beautiful Gradio interface
## Environment Variables
- `OPENAI_API_KEY`: Your OpenAI API key (required)
## License
MIT License
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference |