SarowarSaurav commited on
Commit
f66743b
·
verified ·
1 Parent(s): 05d8740

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +24 -3
app.py CHANGED
@@ -40,7 +40,7 @@ knowledge_base_text = """
40
  - BATB's core ethos revolves around being bold, fast, empowered, responsible, and diverse, ensuring sustainable long-term value creation.
41
  - For any technical support , laptop , monitor , mouse , headphone , keyboard, password , credentials & hardware issue, you should contact Mamun Nasir Bhai & his number 01730372426 .
42
  - Service desk contact number 01313703069
43
- - To take leave & employee leave request portal link is https://bat.sharepoint.com/sites/NextGearInduction/NextGear/SitePages/System-Links.aspx
44
  - turquoise is located in 1st floor near IDT floor .
45
  - Opal and Amber is located 2nd floor near CoRA floor
46
  - for SIM, talktime , Mobile Rechage , Top up related issue , Please contact Faizava Tabassum 01332523269
@@ -56,8 +56,29 @@ iface = gr.Interface(
56
  outputs="text",
57
  title="British American Tobacco Bangladesh",
58
  description="- powered by IDT",
59
- theme="default"
60
  )
61
 
62
- # Run the Gradio interface
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
63
  iface.launch()
 
40
  - BATB's core ethos revolves around being bold, fast, empowered, responsible, and diverse, ensuring sustainable long-term value creation.
41
  - For any technical support , laptop , monitor , mouse , headphone , keyboard, password , credentials & hardware issue, you should contact Mamun Nasir Bhai & his number 01730372426 .
42
  - Service desk contact number 01313703069
43
+ - To take leave & employee leave request portal link is "bat.sharepoint.com/sites/NextGearInduction/NextGear/SitePages/System-Links.aspx"
44
  - turquoise is located in 1st floor near IDT floor .
45
  - Opal and Amber is located 2nd floor near CoRA floor
46
  - for SIM, talktime , Mobile Rechage , Top up related issue , Please contact Faizava Tabassum 01332523269
 
56
  outputs="text",
57
  title="British American Tobacco Bangladesh",
58
  description="- powered by IDT",
59
+ theme="my_custom_theme" # Set the theme to your custom theme
60
  )
61
 
62
+ # Define the custom theme
63
+ custom_theme = gr.themes.Theme(
64
+ default_font="Arial",
65
+ base="light",
66
+ title_font="Arial",
67
+ title_color="black",
68
+ section_title_font="Arial",
69
+ section_title_color="black",
70
+ background="#0e2b63", # Set the background color to #0e2b63
71
+ input_font="Arial",
72
+ input_text_color="black",
73
+ input_background_color="white",
74
+ input_border_color="#0e2b63", # Adjust border color if needed
75
+ output_font="Arial",
76
+ output_text_color="black",
77
+ output_background_color="white",
78
+ output_border_color="#0e2b63", # Adjust border color if needed
79
+ )
80
+
81
+ # Assign the custom theme to the interface
82
+ iface.theme = custom_theme
83
+
84
  iface.launch()