Spaces:
Running
Running
Commit
·
9b5004f
1
Parent(s):
f34fa3a
ui fixes
Browse files- backend/aragpt.py +6 -4
- backend/processor.py +6 -3
backend/aragpt.py
CHANGED
|
@@ -21,10 +21,12 @@ qa_prompt_post_year = """ في سنة: """
|
|
| 21 |
|
| 22 |
|
| 23 |
def write():
|
| 24 |
-
|
| 25 |
-
|
| 26 |
-
|
| 27 |
-
|
|
|
|
|
|
|
| 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 |
-
|
| 107 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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>
|