Spaces:
Sleeping
Sleeping
Download chatbot_app from ayinggg/chatbot: direct link, hf CLI and curl.
- Browser
- Download file 244 Bytes
-
https://huggingface.co/spaces/ayinggg/chatbot/resolve/main/chatbot_app
- Command line
-
hf download hf://spaces/ayinggg/chatbot/chatbot_app
-
curl -L -o chatbot_app https://huggingface.co/spaces/ayinggg/chatbot/resolve/main/chatbot_app
244 Bytes
| import gradio as gr | |
| import random | |
| def respond(message, history): | |
| responses = ["yes", "no"] | |
| return responses[random.randint(0,1)] | |
| print("Hello World") | |
| chatbot = gr.ChatInterface(respond, type = "messages") #chatbot UI | |
| chatbot.launch() |