Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -41,7 +41,18 @@ def respond(
|
|
41 |
return response
|
42 |
|
43 |
# Default response if no keyword is matched
|
44 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
45 |
|
46 |
# Omdurman National Bank-specific interface
|
47 |
with gr.Blocks(css=".gradio-container {direction: rtl;}") as demo:
|
|
|
41 |
return response
|
42 |
|
43 |
# Default response if no keyword is matched
|
44 |
+
arabic_options = [
|
45 |
+
"التحقق من الرصيد",
|
46 |
+
"الإبلاغ عن فقدان البطاقة",
|
47 |
+
"شروط الحصول على قرض",
|
48 |
+
"تحويل الأموال",
|
49 |
+
"فتح حساب جديد",
|
50 |
+
"أسعار الفائدة",
|
51 |
+
"فروع البنك",
|
52 |
+
"ساعات العمل",
|
53 |
+
"الاتصال بالبنك"
|
54 |
+
]
|
55 |
+
return "عذرًا، لم أفهم سؤالك. الرجاء إعادة الصياغة أو اختيار أحد الخيارات التالية: " + ", ".join(arabic_options)
|
56 |
|
57 |
# Omdurman National Bank-specific interface
|
58 |
with gr.Blocks(css=".gradio-container {direction: rtl;}") as demo:
|