Download chatbot/app.py from Vivekkrishu/Chatbot: direct link, hf CLI and curl.
- Browser
- Download file 157 Bytes
-
https://huggingface.co/Vivekkrishu/Chatbot/resolve/main/chatbot/app.py
- Command line
-
hf download hf://Vivekkrishu/Chatbot/chatbot/app.py
-
curl -L -o app.py https://huggingface.co/Vivekkrishu/Chatbot/resolve/main/chatbot/app.py
157 Bytes
| import gradio as gr | |
| def respond(message): | |
| return f"You said: {message}" | |
| iface = gr.Interface(fn=respond, inputs="text", outputs="text") | |
| iface.launch() | |