Spaces:
Running
Running
Arena
How to run locally
Set up a virtual environment
Before installing dependencies, it's recommended to create a virtual environment.
Install dependencies
With the virtual environment activated, install the project dependencies:
pip install -r requirements.txt
Run the app
Set your OpenAI API key as an environment variable and start the application:
OPENAI_API_KEY=<your key> python3 app.py
Replace
<your key>
with your GCP project ID.To run the app with auto-reloading, use
gradio app.py --demo-name app
instead ofpython3 app.py
.