Spaces:
Sleeping
Sleeping
Download community_contributions/openai_chatbot_k/app.py from uscemclean/cpu_basic: direct link, hf CLI and curl.
- Browser
- Download file 150 Bytes
-
https://huggingface.co/spaces/uscemclean/cpu_basic/resolve/main/community_contributions/openai_chatbot_k/app.py
- Command line
-
hf download hf://spaces/uscemclean/cpu_basic/community_contributions/openai_chatbot_k/app.py
-
curl -L -o app.py https://huggingface.co/spaces/uscemclean/cpu_basic/resolve/main/community_contributions/openai_chatbot_k/app.py
150 Bytes
| import gradio as gr | |
| import requests | |
| from chatbot import Chatbot | |
| chatbot = Chatbot() | |
| gr.ChatInterface(chatbot.chat, type="messages").launch() | |