Spaces:
Sleeping
Sleeping
Change function name to maybe affect chatbot
#19
by STSDerek - opened
app.py
CHANGED
|
@@ -65,7 +65,7 @@ faq_embeddings = model.encode(faq_questions, convert_to_tensor=True)
|
|
| 65 |
|
| 66 |
import difflib
|
| 67 |
|
| 68 |
-
def
|
| 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=
|
| 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",
|