Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -137,20 +137,13 @@ label {
|
|
| 137 |
.arabic-chatbox .message.user {
|
| 138 |
font-family: 'Cairo', sans-serif !important;
|
| 139 |
background-color: #FFFBE6;
|
| 140 |
-
border-radius: 10px;
|
| 141 |
-
padding: 10px;
|
| 142 |
-
margin-bottom: 10px;
|
| 143 |
}
|
| 144 |
|
| 145 |
.arabic-chatbox .message.bot {
|
| 146 |
font-family: 'Cairo', sans-serif !important;
|
| 147 |
background-color: #E7FBE6;
|
| 148 |
-
padding: 10px;
|
| 149 |
-
margin-bottom: 10px;
|
| 150 |
}
|
| 151 |
|
| 152 |
-
|
| 153 |
-
|
| 154 |
#custom-logo {
|
| 155 |
display: block;
|
| 156 |
margin-left: auto;
|
|
@@ -283,8 +276,7 @@ with gr.Blocks(css=custom_css) as demo:
|
|
| 283 |
with gr.Row():
|
| 284 |
chat_label = gr.HTML(value='')
|
| 285 |
with gr.Row():
|
| 286 |
-
chat_input = gr.Textbox(label="💬", rtl=True, visible=False, placeholder="أدخل سؤالك هنا ..",
|
| 287 |
-
#chat_output = gr.Textbox(label="الرد الآلي 🤖", rtl=True, visible=False)
|
| 288 |
with gr.Row():
|
| 289 |
audio_output = gr.Audio(label="🔊", visible=False)
|
| 290 |
|
|
|
|
| 137 |
.arabic-chatbox .message.user {
|
| 138 |
font-family: 'Cairo', sans-serif !important;
|
| 139 |
background-color: #FFFBE6;
|
|
|
|
|
|
|
|
|
|
| 140 |
}
|
| 141 |
|
| 142 |
.arabic-chatbox .message.bot {
|
| 143 |
font-family: 'Cairo', sans-serif !important;
|
| 144 |
background-color: #E7FBE6;
|
|
|
|
|
|
|
| 145 |
}
|
| 146 |
|
|
|
|
|
|
|
| 147 |
#custom-logo {
|
| 148 |
display: block;
|
| 149 |
margin-left: auto;
|
|
|
|
| 276 |
with gr.Row():
|
| 277 |
chat_label = gr.HTML(value='')
|
| 278 |
with gr.Row():
|
| 279 |
+
chat_input = gr.Textbox(label="💬", rtl=True, visible=False, placeholder="أدخل سؤالك هنا ..", lines=2)
|
|
|
|
| 280 |
with gr.Row():
|
| 281 |
audio_output = gr.Audio(label="🔊", visible=False)
|
| 282 |
|