wissamantoun commited on
Commit
9b5004f
1 Parent(s): f34fa3a
Files changed (2) hide show
  1. backend/aragpt.py +6 -4
  2. backend/processor.py +6 -3
backend/aragpt.py CHANGED
@@ -21,10 +21,12 @@ qa_prompt_post_year = """ في سنة: """
21
 
22
 
23
  def write():
24
- _, col1, _ = st.columns(3)
25
-
26
- with col1:
27
- col1.title("Arabic Language Generation")
 
 
28
 
29
  # Sidebar
30
 
 
21
 
22
 
23
  def write():
24
+ st.markdown(
25
+ """
26
+ <h1 style="text-align:left;">Arabic Language Generation</h1>
27
+ """,
28
+ unsafe_allow_html=True,
29
+ )
30
 
31
  # Sidebar
32
 
backend/processor.py CHANGED
@@ -101,10 +101,13 @@ def _desegmentword(orig_word: str) -> str:
101
 
102
 
103
  def write():
104
- _, col1, _ = st.columns(3)
105
 
106
- with col1:
107
- col1.title("Arabic Text Pre-Processor")
 
 
 
 
108
  st.markdown(
109
  """
110
  <style>
 
101
 
102
 
103
  def write():
 
104
 
105
+ st.markdown(
106
+ """
107
+ <h1 style="text-align:left;">Arabic Text Pre-Processor</h1>
108
+ """,
109
+ unsafe_allow_html=True,
110
+ )
111
  st.markdown(
112
  """
113
  <style>