Samyakssk commited on
Commit
b522fee
·
verified ·
1 Parent(s): 119ef84

"Fixed slow response issue"

Browse files
Files changed (2) hide show
  1. app.py +0 -8
  2. app_old.py +7 -0
app.py DELETED
@@ -1,8 +0,0 @@
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()
 
 
 
 
 
 
 
 
 
app_old.py ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ import gradio as gr
2
+
3
+ def hello():
4
+ return "Hello, world!"
5
+
6
+ iface = gr.Interface(fn=hello, inputs=[], outputs="text")
7
+ iface.launch()