Update app.py
Browse files
app.py
CHANGED
@@ -47,9 +47,9 @@ def app():
|
|
47 |
target_text_df = pd.read_csv(target_text_path)
|
48 |
texts = target_text_df["text"]
|
49 |
##st.sidebar.title("Place")
|
50 |
-
st.sidebar.markdown("""Check out more at [github](https://github.com/mlkorra/OGBV-detection)""")
|
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)]
|
|
|
47 |
target_text_df = pd.read_csv(target_text_path)
|
48 |
texts = target_text_df["text"]
|
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)]
|