Update app.py
Browse files
app.py
CHANGED
@@ -315,7 +315,7 @@ Peoples’ Prosecution Service of the People’s Republic of China
|
|
315 |
relating to promotion of cooperation in Legal/Judicial matters was
|
316 |
signed on 23rd June, 2003.
|
317 |
--------
|
318 |
-
"""
|
319 |
|
320 |
ipc_tool = Tool(
|
321 |
name="IPC Information Retrieval",
|
@@ -432,16 +432,6 @@ def vote(data: gr.LikeData):
|
|
432 |
|
433 |
with gr.Blocks(theme=gr.themes.Soft()) as iface:
|
434 |
|
435 |
-
gr.Markdown(
|
436 |
-
"""
|
437 |
-
<div style="font-size: 24px; font-weight: bold; color: #333;">
|
438 |
-
DoJ Chatbot
|
439 |
-
</div>
|
440 |
-
<div style="font-size: 16px; color: #555;">
|
441 |
-
Ask questions related to the Department of Justice.
|
442 |
-
</div>
|
443 |
-
"""
|
444 |
-
)
|
445 |
chatbot = gr.Chatbot(type="messages",avatar_images=("user.jpeg", "logo.jpeg"), bubble_full_width=True) # Chatbot component to display conversation history
|
446 |
query_input = gr.MultimodalTextbox(interactive=True,
|
447 |
placeholder="Enter message or upload file...", show_label=False)
|
|
|
315 |
relating to promotion of cooperation in Legal/Judicial matters was
|
316 |
signed on 23rd June, 2003.
|
317 |
--------
|
318 |
+
""".replace('/n','')
|
319 |
|
320 |
ipc_tool = Tool(
|
321 |
name="IPC Information Retrieval",
|
|
|
432 |
|
433 |
with gr.Blocks(theme=gr.themes.Soft()) as iface:
|
434 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
435 |
chatbot = gr.Chatbot(type="messages",avatar_images=("user.jpeg", "logo.jpeg"), bubble_full_width=True) # Chatbot component to display conversation history
|
436 |
query_input = gr.MultimodalTextbox(interactive=True,
|
437 |
placeholder="Enter message or upload file...", show_label=False)
|