RAMYASRI-39
commited on
Commit
•
fc3a22d
1
Parent(s):
bd301a9
Update app.py
Browse files
app.py
CHANGED
@@ -222,7 +222,7 @@ with gr.Blocks(theme='gradio/soft') as CHATBOT:
|
|
222 |
history_state = gr.State([])
|
223 |
with gr.Row():
|
224 |
with gr.Column(scale=10):
|
225 |
-
gr.HTML(value="""<div style="color: #FF4500;"><h1>Welcome! I am your friend!</h1>Ask me !I will help you<h1><span style="color: #008000">I AM A CHATBOT FOR 10
|
226 |
gr.HTML(value=f"""<p style="font-family: sans-serif; font-size: 16px;">A free chat bot developed by K.M.RAMYASRI,TGT,GHS.SUTHUKENY using Open source LLMs for 10 std students</p>""")
|
227 |
gr.HTML(value=f"""<p style="font-family: Arial, sans-serif; font-size: 14px;"> Suggestions may be sent to <a href="mailto:ramyasriraman2019@gmail.com" style="color: #00008B; font-style: italic;">ramyadevi1607@yahoo.com</a>.</p>""")
|
228 |
|
@@ -285,8 +285,7 @@ with gr.Blocks(theme='gradio/soft') as CHATBOT:
|
|
285 |
txt_msg = txt_btn.click(update_history_and_translate, [txt, cross_encoder, history_state, language_dropdown], [chatbot, prompt_html, translated_textbox])
|
286 |
txt_msg = txt.submit(update_history_and_translate, [txt, cross_encoder, history_state, language_dropdown], [chatbot, prompt_html, translated_textbox])
|
287 |
|
288 |
-
examples = ['
|
289 |
-
'EXPLAIN ASEXUAL REPRODUCTION']
|
290 |
|
291 |
gr.Examples(examples, txt)
|
292 |
|
|
|
222 |
history_state = gr.State([])
|
223 |
with gr.Row():
|
224 |
with gr.Column(scale=10):
|
225 |
+
gr.HTML(value="""<div style="color: #FF4500;"><h1>Welcome! I am your friend!</h1>Ask me !I will help you<h1><span style="color: #008000">I AM A CHATBOT FOR 10 SOCIAL WITH TRANSLATION IN 22 LANGUAGES</span></h1></div>""")
|
226 |
gr.HTML(value=f"""<p style="font-family: sans-serif; font-size: 16px;">A free chat bot developed by K.M.RAMYASRI,TGT,GHS.SUTHUKENY using Open source LLMs for 10 std students</p>""")
|
227 |
gr.HTML(value=f"""<p style="font-family: Arial, sans-serif; font-size: 14px;"> Suggestions may be sent to <a href="mailto:ramyasriraman2019@gmail.com" style="color: #00008B; font-style: italic;">ramyadevi1607@yahoo.com</a>.</p>""")
|
228 |
|
|
|
285 |
txt_msg = txt_btn.click(update_history_and_translate, [txt, cross_encoder, history_state, language_dropdown], [chatbot, prompt_html, translated_textbox])
|
286 |
txt_msg = txt.submit(update_history_and_translate, [txt, cross_encoder, history_state, language_dropdown], [chatbot, prompt_html, translated_textbox])
|
287 |
|
288 |
+
examples = ['WHAT IS POWER SHARING?','WHAT IS THE REASON FOR RISE OF NATIONALISM IN INDIA?']
|
|
|
289 |
|
290 |
gr.Examples(examples, txt)
|
291 |
|