Spaces:
Runtime error
Runtime error
Remove About
Browse files
app.py
CHANGED
|
@@ -205,7 +205,22 @@ def skip_correction():
|
|
| 205 |
st.session_state.orig_sentence = "No more sentences to be corrected"
|
| 206 |
st.session_state.orig_translation = "No more sentences to be corrected"
|
| 207 |
|
| 208 |
-
st.title("
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 209 |
|
| 210 |
if "data" not in st.session_state:
|
| 211 |
st.session_state.data = load_data()
|
|
@@ -236,24 +251,24 @@ if "user_translation" not in st.session_state:
|
|
| 236 |
# st.subheader("About")
|
| 237 |
# st.markdown("""This is app is designed to collect Darija translation corpus.""")
|
| 238 |
|
| 239 |
-
with st.sidebar:
|
| 240 |
-
|
| 241 |
-
|
| 242 |
-
|
| 243 |
|
| 244 |
-
|
| 245 |
-
|
| 246 |
-
|
| 247 |
-
|
| 248 |
-
|
| 249 |
|
| 250 |
-
|
| 251 |
-
|
| 252 |
-
|
| 253 |
-
|
| 254 |
|
| 255 |
-
|
| 256 |
-
|
| 257 |
|
| 258 |
tab1, tab2, tab3 = st.tabs(["Translation", "Correction", "Auto-Translate"])
|
| 259 |
|
|
|
|
| 205 |
st.session_state.orig_sentence = "No more sentences to be corrected"
|
| 206 |
st.session_state.orig_translation = "No more sentences to be corrected"
|
| 207 |
|
| 208 |
+
st.title("""
|
| 209 |
+
Darija Translation Corpus Collection
|
| 210 |
+
|
| 211 |
+
**What This Space Is For:**
|
| 212 |
+
- **Translating Darija to English:** Add your translations here.
|
| 213 |
+
- **Correcting Translations:** Review and correct existing translations.
|
| 214 |
+
- **Using GPT-4 for Auto-Translation:** Try auto-translating Darija sentences.
|
| 215 |
+
- **Helping Develop Darija Language Resources:** Your translations make a difference.
|
| 216 |
+
|
| 217 |
+
**How to Contribute:**
|
| 218 |
+
- **Choose a Tab:** Translation, Correction, or Auto-Translate.
|
| 219 |
+
- **Add or Correct Translations:** Use text areas to enter translations.
|
| 220 |
+
- **Save Your Work:** Click 'Save' to submit.
|
| 221 |
+
|
| 222 |
+
**Every Contribution Counts! Let's make Darija GREAT!**
|
| 223 |
+
""")
|
| 224 |
|
| 225 |
if "data" not in st.session_state:
|
| 226 |
st.session_state.data = load_data()
|
|
|
|
| 251 |
# st.subheader("About")
|
| 252 |
# st.markdown("""This is app is designed to collect Darija translation corpus.""")
|
| 253 |
|
| 254 |
+
# with st.sidebar:
|
| 255 |
+
# st.subheader("About")
|
| 256 |
+
# st.markdown("""
|
| 257 |
+
# ### Darija Translation Corpus Collection
|
| 258 |
|
| 259 |
+
# **What This Space Is For:**
|
| 260 |
+
# - **Translating Darija to English:** Add your translations here.
|
| 261 |
+
# - **Correcting Translations:** Review and correct existing translations.
|
| 262 |
+
# - **Using GPT-4 for Auto-Translation:** Try auto-translating Darija sentences.
|
| 263 |
+
# - **Helping Develop Darija Language Resources:** Your translations make a difference.
|
| 264 |
|
| 265 |
+
# **How to Contribute:**
|
| 266 |
+
# - **Choose a Tab:** Translation, Correction, or Auto-Translate.
|
| 267 |
+
# - **Add or Correct Translations:** Use text areas to enter translations.
|
| 268 |
+
# - **Save Your Work:** Click 'Save' to submit.
|
| 269 |
|
| 270 |
+
# **Every Contribution Counts! Let's make Darija GREAT!**
|
| 271 |
+
# """)
|
| 272 |
|
| 273 |
tab1, tab2, tab3 = st.tabs(["Translation", "Correction", "Auto-Translate"])
|
| 274 |
|