Change function name to maybe affect chatbot

#19
by STSDerek - opened
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -65,7 +65,7 @@ faq_embeddings = model.encode(faq_questions, convert_to_tensor=True)
65
 
66
  import difflib
67
 
68
- def chatbot(message, history):
69
  # Convert input to lowercase for better matching
70
  user_input = message.lower()
71
 
@@ -83,7 +83,7 @@ def chatbot(message, history):
83
 
84
 
85
  iface = gr.ChatInterface(
86
- fn=chatbot,
87
  title="VELMA© - Virtual Engagement Liaison & Messaging Assistant",
88
  description="Ask about our services, support, cybersecurity, or backups.",
89
  type="messages",
 
65
 
66
  import difflib
67
 
68
+ def velma(message, history):
69
  # Convert input to lowercase for better matching
70
  user_input = message.lower()
71
 
 
83
 
84
 
85
  iface = gr.ChatInterface(
86
+ fn=velma,
87
  title="VELMA© - Virtual Engagement Liaison & Messaging Assistant",
88
  description="Ask about our services, support, cybersecurity, or backups.",
89
  type="messages",