exiang/hkaa_openai_poc
0
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=TrueNext
pip install -r requirements.txt
python app.pyRunnig 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.
