Jackie2235 commited on
Commit
93a2379
·
1 Parent(s): 4a04c00

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -12
app.py CHANGED
@@ -17,18 +17,8 @@ import yake
17
  st.write("# Demonstration for Etsy Title Summarization(Etsy-TS)")
18
 
19
  st.markdown("***Idea is to build a model which will automatically summarize title information.***")
20
- image = Image.open('top.png')
21
  st.image(image)
22
 
23
- st.sidebar.write("# Top-N Selection")
24
- maxtags_sidebar = st.sidebar.slider('Number of query allowed?', 1, 20, 1, key='ehikwegrjifbwreuk')
25
- #user_query = st_tags(
26
- # label='# Enter Query:',
27
- # text='Press enter to add more',
28
- # value=['Mother'],
29
- # suggestions=['gift', 'nike', 'wool'],
30
- # maxtags=maxtags_sidebar,
31
- # key="aljnf")
32
-
33
- user_query = st.text_input("Enter a query for the generated text: e.g., gift, home decoration ...")
34
 
 
17
  st.write("# Demonstration for Etsy Title Summarization(Etsy-TS)")
18
 
19
  st.markdown("***Idea is to build a model which will automatically summarize title information.***")
20
+ image = Image.open('temp.jpg')
21
  st.image(image)
22
 
23
+ user_query = st.text_input("Enter a title for the summarization:")
 
 
 
 
 
 
 
 
 
 
24