sarasad commited on
Commit
9996f93
1 Parent(s): 5565087

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -40,10 +40,10 @@ css = """
40
  .rtlClass {direction:rtl !important}
41
  """
42
  with gr.Blocks(css=css) as demo:
43
-
44
- gr.Markdown("Empathetic Response Generation in Arabic")
45
- chatbot = gr.Chatbot(elem_classes="rtlClass").style(height=400)
46
- msg = gr.Textbox(placeholder="Send a message",show_label=False,elem_classes="rtlClass")
47
  with gr.Column():
48
  output_slider=gr.Slider(5, 20, step=1, label='Minimum Output Length')
49
  top_p_slider=gr.Slider(0.7, 1, step=0.1, label='Top-P')
 
40
  .rtlClass {direction:rtl !important}
41
  """
42
  with gr.Blocks(css=css) as demo:
43
+ with gr.Column():
44
+ gr.Markdown("Empathetic Response Generation in Arabic")
45
+ chatbot = gr.Chatbot(elem_classes="rtlClass").style(height=400)
46
+ msg = gr.Textbox(placeholder="ارسل رسالة",show_label=False,elem_classes="rtlClass").style(container=False)
47
  with gr.Column():
48
  output_slider=gr.Slider(5, 20, step=1, label='Minimum Output Length')
49
  top_p_slider=gr.Slider(0.7, 1, step=0.1, label='Top-P')