Spaces:
Runtime error
Runtime error
Commit
·
8d58b4f
1
Parent(s):
7cf2f94
fix sidebar
Browse files
app.py
CHANGED
|
@@ -23,12 +23,13 @@ def main():
|
|
| 23 |
st.title("Sentence Split in English using T5 Variants")
|
| 24 |
st.write("Sentence Split is the task of **dividing a long Complex Sentence into Simple Sentences**")
|
| 25 |
|
|
|
|
| 26 |
model = st.sidebar.selectbox(
|
| 27 |
"Please Choose the Model",
|
| 28 |
("t5-base-wikisplit","t5-v1_1-base-wikisplit", "byt5-base-wikisplit","t5-large-wikisplit"))
|
| 29 |
|
| 30 |
-
change_example = st.radio("Try Random Examples", ["Yes", "No"], index=1)
|
| 31 |
-
|
| 32 |
st.sidebar.write('''
|
| 33 |
## Applications:
|
| 34 |
* Sentence Simplification
|
|
|
|
| 23 |
st.title("Sentence Split in English using T5 Variants")
|
| 24 |
st.write("Sentence Split is the task of **dividing a long Complex Sentence into Simple Sentences**")
|
| 25 |
|
| 26 |
+
st.sidebar.write("## UI Options")
|
| 27 |
model = st.sidebar.selectbox(
|
| 28 |
"Please Choose the Model",
|
| 29 |
("t5-base-wikisplit","t5-v1_1-base-wikisplit", "byt5-base-wikisplit","t5-large-wikisplit"))
|
| 30 |
|
| 31 |
+
change_example = st.sidebar.radio("Try Random Examples", ["Yes", "No"], index=1)
|
| 32 |
+
|
| 33 |
st.sidebar.write('''
|
| 34 |
## Applications:
|
| 35 |
* Sentence Simplification
|