waleedmohd commited on
Commit
41c534b
·
verified ·
1 Parent(s): 7829f02

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +12 -1
app.py CHANGED
@@ -41,7 +41,18 @@ def respond(
41
  return response
42
 
43
  # Default response if no keyword is matched
44
- return "عذرًا، لم أفهم سؤالك. الرجاء إعادة الصياغة أو اختيار أحد الخيارات التالية: " + ", ".join(ONB_GUIDELINES.keys())
 
 
 
 
 
 
 
 
 
 
 
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: