Samyakssk commited on
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
  1. app.py +8 -0
app.py ADDED
@@ -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()