NCTCMumbai
commited on
Commit
•
628d310
1
Parent(s):
57d1675
Update app.py
Browse files
app.py
CHANGED
@@ -288,6 +288,11 @@ with gr.Blocks(theme='gradio/soft') as CHATBOT:
|
|
288 |
txt_msg = txt_btn.click(update_history_and_translate, [txt, cross_encoder, history_state, language_dropdown], [chatbot, prompt_html, translated_textbox])
|
289 |
txt_msg = txt.submit(update_history_and_translate, [txt, cross_encoder, history_state, language_dropdown], [chatbot, prompt_html, translated_textbox])
|
290 |
|
|
|
|
|
|
|
|
|
|
|
291 |
|
292 |
|
293 |
|
|
|
288 |
txt_msg = txt_btn.click(update_history_and_translate, [txt, cross_encoder, history_state, language_dropdown], [chatbot, prompt_html, translated_textbox])
|
289 |
txt_msg = txt.submit(update_history_and_translate, [txt, cross_encoder, history_state, language_dropdown], [chatbot, prompt_html, translated_textbox])
|
290 |
|
291 |
+
examples = ['My transhipment cargo is missing','can u explain and tabulate difference between b 17 bond and a warehousing bond',
|
292 |
+
'What are benefits of the AEO Scheme and eligibility criteria?',
|
293 |
+
'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']
|
294 |
+
|
295 |
+
gr.Examples(examples, txt)
|
296 |
|
297 |
|
298 |
|