hdeldar
commited on
Commit
•
bc5f982
1
Parent(s):
07155e4
update app
Browse files
app.py
CHANGED
@@ -21,8 +21,7 @@ DESCRIPTION = """\
|
|
21 |
|
22 |
PLACEHOLDER = """
|
23 |
<div style="padding: 30px; text-align: center; display: flex; flex-direction: column; align-items: center;">
|
24 |
-
<
|
25 |
-
<h1 style="font-size: 28px; margin-bottom: 2px; opacity: 0.55;">Dorna-Llama3-8B-Instruct</h1>
|
26 |
</div>
|
27 |
"""
|
28 |
|
@@ -151,7 +150,7 @@ def generate(
|
|
151 |
|
152 |
|
153 |
|
154 |
-
chatbot = gr.Chatbot(placeholder=PLACEHOLDER, scale=1, show_copy_button=True, height="
|
155 |
chat_input = gr.Textbox(show_label=False, lines=2, rtl=True, placeholder="ورودی", show_copy_button=True, scale=4)
|
156 |
submit_btn = gr.Button(variant="primary", value="ارسال", size="sm", scale=1, elem_classes=["_button"])
|
157 |
|
|
|
21 |
|
22 |
PLACEHOLDER = """
|
23 |
<div style="padding: 30px; text-align: center; display: flex; flex-direction: column; align-items: center;">
|
24 |
+
<h1 style="font-size: 28px; margin-bottom: 2px; opacity: 0.55;">Test Dorna-Llama3-8B-Instruct</h1>
|
|
|
25 |
</div>
|
26 |
"""
|
27 |
|
|
|
150 |
|
151 |
|
152 |
|
153 |
+
chatbot = gr.Chatbot(placeholder=PLACEHOLDER, scale=1, show_copy_button=True, height="5%", rtl=True) #, elem_classes=["chatbot"])
|
154 |
chat_input = gr.Textbox(show_label=False, lines=2, rtl=True, placeholder="ورودی", show_copy_button=True, scale=4)
|
155 |
submit_btn = gr.Button(variant="primary", value="ارسال", size="sm", scale=1, elem_classes=["_button"])
|
156 |
|