Spaces:
Running
Running
File size: 618 Bytes
93a104a 73e8b86 1371afd 73e8b86 1371afd |
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 |
# Arena
## How to run locally
1. **Set up a virtual environment**
Before installing dependencies, it's recommended to create a virtual environment.
1. **Install dependencies**
With the virtual environment activated, install the project dependencies:
```shell
pip install -r requirements.txt
```
1. **Run the app**
Set your OpenAI API key as an environment variable and start the application:
```shell
GCP_PROJECT_ID=<your project id> OPENAI_API_KEY=<your key> python3 app.py
```
Replace <your project id> and <your key> with your GCP project ID and OpenAI API key respectively.
|