StSAdmin commited on
Commit
7e4f7ca
·
verified ·
1 Parent(s): 57214da

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -1,6 +1,6 @@
1
  import gradio as gr
2
 
3
- def chatbot(message):
4
  if "services" in message.lower():
5
  return "We offer managed IT, cybersecurity, and backup solutions. Want to schedule a consultation?"
6
  elif "hello" in message.lower():
@@ -12,3 +12,4 @@ def chatbot(message):
12
 
13
  iface = gr.ChatInterface(chatbot, type="messages")
14
  iface.launch(share=True)
 
 
1
  import gradio as gr
2
 
3
+ def chatbot(message, history):
4
  if "services" in message.lower():
5
  return "We offer managed IT, cybersecurity, and backup solutions. Want to schedule a consultation?"
6
  elif "hello" in message.lower():
 
12
 
13
  iface = gr.ChatInterface(chatbot, type="messages")
14
  iface.launch(share=True)
15
+