Spaces:
Sleeping
Sleeping
Include added CSS for style.
#6
by STSDerek - opened
app.py
CHANGED
|
@@ -81,12 +81,15 @@ def chatbot(message, history):
|
|
| 81 |
else:
|
| 82 |
return "I'm still learning. Try asking about our services, support, cybersecurity, or backups."
|
| 83 |
|
| 84 |
-
|
| 85 |
#iface = gr.ChatInterface(fn=chatbot, type="messages")
|
| 86 |
-
|
| 87 |
-
|
| 88 |
-
|
| 89 |
-
|
| 90 |
-
|
| 91 |
-
|
| 92 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 81 |
else:
|
| 82 |
return "I'm still learning. Try asking about our services, support, cybersecurity, or backups."
|
| 83 |
|
|
|
|
| 84 |
#iface = gr.ChatInterface(fn=chatbot, type="messages")
|
| 85 |
+
|
| 86 |
+
# Wrap the ChatInterface in Blocks for CSS styling
|
| 87 |
+
with gr.Blocks(css="style.css") as iface:
|
| 88 |
+
gr.ChatInterface(
|
| 89 |
+
fn=chatbot,
|
| 90 |
+
title="VELMA - Virtual Engagement Liaison & Messaging Assistant",
|
| 91 |
+
description="Try asking about our services, support, cybersecurity, or backups.",
|
| 92 |
+
type="messages"
|
| 93 |
+
)
|
| 94 |
+
|
| 95 |
+
iface.launch(share=True)
|