Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -63,15 +63,14 @@ def custom_unmad_satirical_bot(message, history, top_k=3):
|
|
| 63 |
return "", history
|
| 64 |
|
| 65 |
# Gradio UI
|
| 66 |
-
with gr.Blocks(css=".gradio-container {padding-top:
|
| 67 |
-
gr.Markdown("# USB: Unmad Satirical Bot", elem_id="title")
|
| 68 |
|
| 69 |
-
# Insert Unmad image
|
| 70 |
with gr.Row():
|
| 71 |
-
gr.Image("images/unmad_pic.png",
|
| 72 |
|
| 73 |
chatbot = gr.Chatbot()
|
| 74 |
-
|
| 75 |
with gr.Row():
|
| 76 |
msg = gr.Textbox(placeholder="কি চলে আপনার মনে বলেন শুনি?", scale=8, show_label=False)
|
| 77 |
send = gr.Button("Send", variant="primary", scale=1)
|
|
|
|
| 63 |
return "", history
|
| 64 |
|
| 65 |
# Gradio UI
|
| 66 |
+
with gr.Blocks(css=".gradio-container {padding-top: 80px;}") as demo:
|
| 67 |
+
gr.Markdown("# USB: Unmad Satirical Bot", elem_id="title", elem_classes="title-text")
|
| 68 |
|
|
|
|
| 69 |
with gr.Row():
|
| 70 |
+
gr.Image("images/unmad_pic.png", width=450, show_label=False, container=False)
|
| 71 |
|
| 72 |
chatbot = gr.Chatbot()
|
| 73 |
+
|
| 74 |
with gr.Row():
|
| 75 |
msg = gr.Textbox(placeholder="কি চলে আপনার মনে বলেন শুনি?", scale=8, show_label=False)
|
| 76 |
send = gr.Button("Send", variant="primary", scale=1)
|