AmitT commited on
Commit
6238b34
โ€ข
1 Parent(s): 61a18fb

Delete app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -28
app.py DELETED
@@ -1,28 +0,0 @@
1
- import streamlit as st
2
- import pandas as pd
3
- from model_tools import tag_text_sample
4
-
5
- # Initialization
6
-
7
- # Test for session states
8
- if 'predictions' not in st.session_state:
9
- st.session_state['predictions'] = False
10
-
11
- st.title("The auto emoji suggestion ๐Ÿ™ˆ๐Ÿ˜‚")
12
- st.write("""Emoji (Semantic) Search
13
- Super-awesome semantic search for emojis, allowing you to find emojis for any situation,
14
- like when youโ€™re hungry and need an emoji-inspired meal plan for the month.
15
- just emojis hungry
16
- ๐Ÿฒ ๐Ÿฅซ ๐Ÿฝ๏ธ ๐ŸŸ ๐Ÿฅฃ ๐Ÿซ˜ ๐Ÿซ ๐ŸŒฏ ๐Ÿ˜‹ ๐Ÿง‘โ€๐Ÿผ ๐Ÿฅฎ ๐ŸŒญ
17
- """)
18
-
19
-
20
- text_input = st.text_input("Enter your sentence here", "so hungry")
21
-
22
-
23
- if st.button('submit sentence') or text_input:
24
-
25
- with st.spinner("Starting emoji prediction .."):
26
- output = tag_text_sample(text_input)
27
- st.success(output)
28
- st.balloons()