File size: 404 Bytes
d1f08d3
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
---
title: hackaprompt
sdk: gradio
app_file: hackaprompt/gradio_app.py
---

## Installation

Create a python environment with `python>=3.9`, then:

    cd ~/hackaprompt
    pip install -e .

## Gradio App

To run the gradio app:

    cd ~/hackaprompt/hackprompt && gradio gradio_app.py


## Secrets

### OpenAI

A valid OpenAI api key should be set as an env. variable:

    export OPENAI_API_KEY=sk-...