MohammedNasser commited on
Commit
e24a24d
·
verified ·
1 Parent(s): f968d2e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +12 -2
app.py CHANGED
@@ -94,6 +94,8 @@ def create_chain(vectorstore):
94
 
95
  custom_css = """
96
  @import url('https://fonts.googleapis.com/css2?family=Noto+Kufi+Arabic:wght@400;700&display=swap');
 
 
97
  body {
98
  font-family: 'Noto Kufi Arabic', sans-serif;
99
  background: linear-gradient(135deg, #799351 0%, #A67B5B 100%);
@@ -154,8 +156,16 @@ body {
154
  content: '🤖';
155
  }
156
 
157
- #pdf_input input, #submit_button_pdf, #chat_input input, #chat_output input, #audio_output {
158
- text-align: right !important; /* RTL alignment */
 
 
 
 
 
 
 
 
159
  }
160
 
161
  label {
 
94
 
95
  custom_css = """
96
  @import url('https://fonts.googleapis.com/css2?family=Noto+Kufi+Arabic:wght@400;700&display=swap');
97
+ @import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;700&display=swap');
98
+
99
  body {
100
  font-family: 'Noto Kufi Arabic', sans-serif;
101
  background: linear-gradient(135deg, #799351 0%, #A67B5B 100%);
 
156
  content: '🤖';
157
  }
158
 
159
+ #chat_input, #chat_output {
160
+ text-align: right !important; /* Align text to the right */
161
+ direction: rtl !important; /* Set RTL direction */
162
+ font-family: 'Cairo', sans-serif !important;
163
+ }
164
+
165
+ /* Apply RTL for file input and audio components if needed */
166
+ #pdf_input input, #submit_button_pdf, #audio_output {
167
+ text-align: right !important; /* Align text to the right */
168
+ direction: rtl !important; /* Set RTL direction */
169
  }
170
 
171
  label {