Download app.py from BodhiAI4/README: direct link, hf CLI and curl.
- Browser
- Download file 156 Bytes
-
https://huggingface.co/spaces/BodhiAI4/README/resolve/main/app.py
- Command line
-
hf download hf://spaces/BodhiAI4/README/app.py
-
curl -L -o app.py https://huggingface.co/spaces/BodhiAI4/README/resolve/main/app.py
156 Bytes
| import gradio as gr | |
| def bodhi_chat(user_input): | |
| return f"You asked about Buddhism: {user_input}" | |
| iface = gr.ChatInterface(bodhi_chat) | |
| iface.launch() | |