Include added CSS for style.

#6
by STSDerek - opened
Files changed (1) hide show
  1. app.py +11 -8
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
- iface = gr.ChatInterface(
87
- fn=chatbot,
88
- title="VELMA - Virtual Engagement Liaison & Messaging Assistant",
89
- description="Try asking about our services, support, cybersecurity, or backups.",
90
- type="messages"
91
- )
92
- iface.launch(share=True)
 
 
 
 
 
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)