CoolFace
Apppublic

exiang/hkaa_openai_poc

sourceHugging Faceupdated 3y agoView on Hugging Face
0likes
App README

Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference

Setup

First, make sure you have the .env file

OPENAI_API_KEY=xxx
SHARE=True

Next

pip install -r requirements.txt
python app.py

Runnig it locally

python app.py

Then, you may access from http://127.0.0.1:7860 locally or shared with external party thru https://???.gradio.live. This temporary link can be found from terminal just after app first run.

Running it on hugging face

Using gradio to share with external party tend to be unstable.