Rezuwan commited on
Commit
f27d9e7
·
verified ·
1 Parent(s): 70ef591

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -5
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: 50px;}") as demo:
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", label="Unmad Mood", width=320, show_label=False)
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)