Update app.py
Browse files
app.py
CHANGED
@@ -111,14 +111,14 @@ def process_text(inputs: str, confidence_threshold: float):
|
|
111 |
# Streamlit Interface
|
112 |
|
113 |
st.set_page_config(layout="wide")
|
114 |
-
st.title('
|
115 |
|
116 |
confidence_threshold = st.slider('Confidence Threshold', 50, 100, 75)
|
117 |
|
118 |
tab1, tab2 = st.tabs(["Text Input", "URL Input"])
|
119 |
|
120 |
with tab1:
|
121 |
-
user_input = st.text_area("Enter text to process:"
|
122 |
if st.button('Process Text'):
|
123 |
highlighted_text, df_tokens = process_text(user_input, confidence_threshold)
|
124 |
st.markdown(highlighted_text, unsafe_allow_html=True)
|
|
|
111 |
# Streamlit Interface
|
112 |
|
113 |
st.set_page_config(layout="wide")
|
114 |
+
st.title('SEO by DEJAN: LinkBERT')
|
115 |
|
116 |
confidence_threshold = st.slider('Confidence Threshold', 50, 100, 75)
|
117 |
|
118 |
tab1, tab2 = st.tabs(["Text Input", "URL Input"])
|
119 |
|
120 |
with tab1:
|
121 |
+
user_input = st.text_area("Enter text to process:")
|
122 |
if st.button('Process Text'):
|
123 |
highlighted_text, df_tokens = process_text(user_input, confidence_threshold)
|
124 |
st.markdown(highlighted_text, unsafe_allow_html=True)
|