Spaces:
Runtime error
Runtime error
Atharva
commited on
Commit
•
b6473c2
1
Parent(s):
8a5068f
style update
Browse files
app.py
CHANGED
@@ -95,7 +95,7 @@ def main(text):
|
|
95 |
|
96 |
with col2:
|
97 |
st.write("### Disambiguated Text")
|
98 |
-
st.markdown("<style>a {text-decoration: none;} .tag {border: 1px solid; border-radius: 5px; padding: 0px 3px;}</style>", unsafe_allow_html=True)
|
99 |
st.write(tagged, unsafe_allow_html=True)
|
100 |
|
101 |
df = pd.DataFrame(data=preditions, columns=['Mention', 'Prediction', 'Confidence'])
|
|
|
95 |
|
96 |
with col2:
|
97 |
st.write("### Disambiguated Text")
|
98 |
+
st.markdown("<style>a {text-decoration: none;} small {color: inherit} .tag {border: 1px solid; border-radius: 5px; padding: 0px 3px; white-space: nowrap}</style>", unsafe_allow_html=True)
|
99 |
st.write(tagged, unsafe_allow_html=True)
|
100 |
|
101 |
df = pd.DataFrame(data=preditions, columns=['Mention', 'Prediction', 'Confidence'])
|