project / README.md
Letsch22's picture
Update readme
77419d0
---
title: Wharton Hack-AI-thon Project
colorFrom: blue
colorTo: red
sdk: gradio
sdk_version: 4.25.0
app_file: app.py
pinned: false
---
## Quickstart Guide
1. Clone the repo to your local machine
```
git clone https://huggingface.co/spaces/Hackaithon/project
```
2. Set your directory to the project folder
```
cd project
```
3. Initialize a Python virtual environment
```
python -m venv venv
```
4. Activate the virtual environment (repeat this step every time you open the terminal)
Mac:
```
source venv/bin/activate
```
Windows:
```
.\venv\Scripts\activate
```
5. Install requirements
```
pip install -r requirements.txt
```
6. Create your .env file locally
```
cp .env.example .env
```
7. Copy and paste the OpenAI API key into the .env file you just created
8. Run the app
```
python app.py
```