Trabis commited on
Commit
b260131
·
verified ·
1 Parent(s): 089275b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +12 -0
app.py CHANGED
@@ -573,6 +573,18 @@ def process_question(question: str) -> tuple[str, str]:
573
  question_cache[question] = result
574
  return result
575
 
 
 
 
 
 
 
 
 
 
 
 
 
576
  # Gradio interface with queue
577
  with gr.Blocks(css=custom_css) as iface:
578
  with gr.Column():
 
573
  question_cache[question] = result
574
  return result
575
 
576
+ # Custom CSS for right-aligned text in textboxes
577
+ custom_css = """
578
+ .rtl-text {
579
+ text-align: right !important;
580
+ direction: rtl !important;
581
+ }
582
+ .rtl-text textarea {
583
+ text-align: right !important;
584
+ direction: rtl !important;
585
+ }
586
+ """
587
+
588
  # Gradio interface with queue
589
  with gr.Blocks(css=custom_css) as iface:
590
  with gr.Column():