Spaces:
Sleeping
Sleeping
UnarineLeo
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -25,11 +25,7 @@ with col1:
|
|
25 |
|
26 |
text_input = st.text_area(
|
27 |
"Enter sentences with <mask> token (one per line):",
|
28 |
-
"\n".join(sample_sentences)
|
29 |
-
width=90%,
|
30 |
-
max_chars=None,
|
31 |
-
key="textarea",
|
32 |
-
help="Fill in the masked sentences",
|
33 |
)
|
34 |
|
35 |
input_sentences = text_input.split("\n")
|
@@ -135,12 +131,12 @@ footer {display:none !important;}
|
|
135 |
width: 100%;
|
136 |
}
|
137 |
.bar {
|
138 |
-
width:
|
139 |
background-color: #e6e6e6;
|
140 |
border-radius: 12px;
|
141 |
overflow: hidden;
|
142 |
margin-right: 10px;
|
143 |
-
height:
|
144 |
}
|
145 |
.bar-fill {
|
146 |
background-color: #17152e;
|
@@ -150,4 +146,4 @@ footer {display:none !important;}
|
|
150 |
</style>
|
151 |
"""
|
152 |
|
153 |
-
st.markdown(css, unsafe_allow_html=True)
|
|
|
25 |
|
26 |
text_input = st.text_area(
|
27 |
"Enter sentences with <mask> token (one per line):",
|
28 |
+
"\n".join(sample_sentences)
|
|
|
|
|
|
|
|
|
29 |
)
|
30 |
|
31 |
input_sentences = text_input.split("\n")
|
|
|
131 |
width: 100%;
|
132 |
}
|
133 |
.bar {
|
134 |
+
width: 70%;
|
135 |
background-color: #e6e6e6;
|
136 |
border-radius: 12px;
|
137 |
overflow: hidden;
|
138 |
margin-right: 10px;
|
139 |
+
height: 5px;
|
140 |
}
|
141 |
.bar-fill {
|
142 |
background-color: #17152e;
|
|
|
146 |
</style>
|
147 |
"""
|
148 |
|
149 |
+
st.markdown(css, unsafe_allow_html=True)
|