Update app.py
Browse files
app.py
CHANGED
@@ -40,10 +40,10 @@ css = """
|
|
40 |
.rtlClass {direction:rtl !important}
|
41 |
"""
|
42 |
with gr.Blocks(css=css) as demo:
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
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')
|