title | emoji | colorFrom | colorTo | sdk | sdk_version | app_file | pinned | license |
---|---|---|---|---|---|---|---|---|
Chatdemo |
🌍 |
green |
purple |
gradio |
3.20.1 |
app.py |
false |
mit |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
This is a basic ChatGPT demo based on ChatAPI and gradio framework
git clone https://github.com/simpx/chatdemo.git
cd chatdemo
pip install -r requirements.txt
Access through http://127.0.0.1:7860
python app.py
Automatically reload after modify the code, Default listening on 0.0.0.0 allows hosting in the cloud
sh run.sh
- Configure on the
Config
tab, or create the 'config' file in the same directory as app.py. - Chat on the
Chat
tab
- Create a new Space at https://huggingface.co/new-space and choose
Gradio
as the Space SDK. - Push this project to the newly created Space.
- Wait for the build to complete, then access the Space page.
see example: https://huggingface.co/spaces/simpx/chatdemo