Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -382,7 +382,7 @@ class UserSession:
|
|
382 |
self.welcome_message = (
|
383 |
f"<div style='font-size: 24px; font-weight: bold; color: #2E86C1;'>"
|
384 |
f"Welcome {Nickname}! 👋</div>"
|
385 |
-
f"<div style='font-size: 20px
|
386 |
f"We appreciate you reaching out to us. You are in a safe and trusted space designed to support you. "
|
387 |
f"Here, you can find guidance on gender-based violence (GBV) and legal assistance.<br><br>"
|
388 |
f"</div>"
|
@@ -488,7 +488,7 @@ def rag_memory_stream(message, history):
|
|
488 |
|
489 |
|
490 |
import gradio as gr
|
491 |
-
|
492 |
# Gradio Interface Setup with improved UX
|
493 |
def chatbot_interface():
|
494 |
# Get API key (in a real application, handle this more securely)
|
@@ -557,7 +557,7 @@ def chatbot_interface():
|
|
557 |
)
|
558 |
|
559 |
# Footer with version info
|
560 |
-
gr.Markdown("Ijwi ry'
|
561 |
|
562 |
# Handle user registration
|
563 |
submit_btn.click(
|
|
|
382 |
self.welcome_message = (
|
383 |
f"<div style='font-size: 24px; font-weight: bold; color: #2E86C1;'>"
|
384 |
f"Welcome {Nickname}! 👋</div>"
|
385 |
+
f"<div style='font-size: 20px'>"
|
386 |
f"We appreciate you reaching out to us. You are in a safe and trusted space designed to support you. "
|
387 |
f"Here, you can find guidance on gender-based violence (GBV) and legal assistance.<br><br>"
|
388 |
f"</div>"
|
|
|
488 |
|
489 |
|
490 |
import gradio as gr
|
491 |
+
api_key = api
|
492 |
# Gradio Interface Setup with improved UX
|
493 |
def chatbot_interface():
|
494 |
# Get API key (in a real application, handle this more securely)
|
|
|
557 |
)
|
558 |
|
559 |
# Footer with version info
|
560 |
+
gr.Markdown("Ijwi ry'Ubufasha_Chatbot v1.0.0 © 2025")
|
561 |
|
562 |
# Handle user registration
|
563 |
submit_btn.click(
|