NCTCMumbai
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -48,9 +48,9 @@ template_html = env.get_template('template_html.j2')
|
|
48 |
# collection_name = 'Nirvachana' # Replace with your collection name
|
49 |
# field_name = 'message_count' # Replace with your field name for count
|
50 |
# Examples
|
51 |
-
examples = ['
|
52 |
-
'
|
53 |
-
]
|
54 |
|
55 |
|
56 |
|
@@ -200,16 +200,16 @@ with gr.Blocks(theme='NoCrypt/miku') as CHATBOT:
|
|
200 |
# of this theme.
|
201 |
# """
|
202 |
# )
|
203 |
-
gr.HTML(value="""<div style="color: #FF4500;"><h1>
|
204 |
</div>""", elem_id='heading')
|
205 |
|
206 |
gr.HTML(value=f"""
|
207 |
<p style="font-family: sans-serif; font-size: 16px;">
|
208 |
-
A free chat bot developed by National Customs
|
209 |
</p>
|
210 |
""", elem_id='Sub-heading')
|
211 |
#usage_count = get_and_increment_value_count(db,collection_name, field_name)
|
212 |
-
gr.HTML(value=f"""<p style="font-family: Arial, sans-serif; font-size: 14px;">Developed by
|
213 |
|
214 |
with gr.Column(scale=3):
|
215 |
gr.Image(value='logo.png',height=200,width=200)
|
|
|
48 |
# collection_name = 'Nirvachana' # Replace with your collection name
|
49 |
# field_name = 'message_count' # Replace with your field name for count
|
50 |
# Examples
|
51 |
+
examples = ['My transhipment cargo is missing','can u explain and tabulate difference between b 17 bond and a warehousing bond',
|
52 |
+
'What are benefits of the AEO Scheme and eligibility criteria?',
|
53 |
+
'What are penalties for customs offences? ', 'what are penalties to customs officers misusing their powers under customs act?','What are eligibility criteria for exemption from cost recovery charges','list in detail what is procedure for obtaining new approval for openeing a CFS attached to an ICD']
|
54 |
|
55 |
|
56 |
|
|
|
200 |
# of this theme.
|
201 |
# """
|
202 |
# )
|
203 |
+
gr.HTML(value="""<div style="color: #FF4500;"><h1>ADWITIYA-</h1> <h1><span style="color: #008000">Custom Manual Chatbot and Quizbot</span></h1>
|
204 |
</div>""", elem_id='heading')
|
205 |
|
206 |
gr.HTML(value=f"""
|
207 |
<p style="font-family: sans-serif; font-size: 16px;">
|
208 |
+
Using GenAI for CBIC Capacity Building - A free chat bot developed by National Customs Targeting Center using Open source LLMs for CBIC Officers
|
209 |
</p>
|
210 |
""", elem_id='Sub-heading')
|
211 |
#usage_count = get_and_increment_value_count(db,collection_name, field_name)
|
212 |
+
gr.HTML(value=f"""<p style="font-family: Arial, sans-serif; font-size: 14px;">Developed by NCTC,Mumbai . Suggestions may be sent to <a href="mailto:nctc-admin@gov.in" style="color: #00008B; font-style: italic;">ramyadevi1607@yahoo.com</a>.</p>""", elem_id='Sub-heading1 ')
|
213 |
|
214 |
with gr.Column(scale=3):
|
215 |
gr.Image(value='logo.png',height=200,width=200)
|