Hugging Face
Search models, datasets, users...
Ctrl K
Models
Datasets
Spaces
Buckets
Docs
Enterprise
Pricing
More
Website
Tasks
HuggingChat
Collections
Languages
Organizations
Community
Blog
Posts
Daily Papers
Hardware
Learn
Discord
Forum
GitHub
Solutions
Team & Enterprise
Hugging Face PRO
Enterprise Support
Inference Providers
Inference Endpoints
Storage Buckets
Log In
Sign Up
Spaces:
BodhiAI4
/
README
Like
0
Sleeping
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
Samyakssk
commited on
Mar 6, 2025
Commit
119ef84
·
verified
·
1 Parent(s):
454cd4c
import gradio as gr def bodhi_chat(user_input): return f"You asked about Buddhism: {user_input}" iface = gr.ChatInterface(bodhi_chat) iface.launch()
Browse files
Files changed (1)
hide
show
app.py
+8
-0
app.py
ADDED
Viewed
@@ -0,0 +1,8 @@
1
+
import gradio as gr
2
+
3
+
def bodhi_chat(user_input):
4
+
return f"You asked about Buddhism: {user_input}"
5
+
6
+
iface = gr.ChatInterface(bodhi_chat)
7
+
8
+
iface.launch()