Spaces:
Runtime error
Runtime error
File size: 811 Bytes
1335825 4c0b507 78f02ae dcad67a 1335825 77419d0 |
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: 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
```
|