Update app.py
Browse files
app.py
CHANGED
@@ -49,7 +49,7 @@ def app():
|
|
49 |
##st.sidebar.title("Place")
|
50 |
|
51 |
pick_random = st.sidebar.checkbox("Pick any random text")
|
52 |
-
|
53 |
|
54 |
if pick_random:
|
55 |
random_text = texts[random.randint(0, texts.shape[0] - 1)]
|
@@ -63,7 +63,7 @@ def app():
|
|
63 |
text = text[3:]
|
64 |
masked_text = st.text_area("Please type a sentence to classify", text)
|
65 |
|
66 |
-
|
67 |
|
68 |
# pd.set_option('max_colwidth',30)
|
69 |
if st.button("Classify"):
|
|
|
49 |
##st.sidebar.title("Place")
|
50 |
|
51 |
pick_random = st.sidebar.checkbox("Pick any random text")
|
52 |
+
st.sidebar.markdown("""Find out more at [Github](https://github.com/mlkorra/OGBV-detection)""")
|
53 |
|
54 |
if pick_random:
|
55 |
random_text = texts[random.randint(0, texts.shape[0] - 1)]
|
|
|
63 |
text = text[3:]
|
64 |
masked_text = st.text_area("Please type a sentence to classify", text)
|
65 |
|
66 |
+
|
67 |
|
68 |
# pd.set_option('max_colwidth',30)
|
69 |
if st.button("Classify"):
|