christopher commited on
Commit
ee9d01a
1 Parent(s): 422f9b2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -1,7 +1,7 @@
1
  import streamlit as st
2
  import yake
3
 
4
- st.set_page_config(page_title="KeyPhrase Extraction", page_icon='🌸', layout="centered")
5
  text = """
6
  Sources tell us that Google is acquiring Kaggle, a platform that hosts data science and machine learning competitions. Details about the transaction remain somewhat vague, but given that Google is hosting its Cloud Next conference in San Francisco this week, the official announcement could come as early as tomorrow.
7
 
@@ -15,7 +15,7 @@ Kaggle has a bit of a history with Google, too, but that’s pretty recent. Earl
15
  """
16
  cola, colb = st.columns([1,1])
17
  with cola:
18
- doc = st.text_area(label="", value=text, placeholder="Search")
19
  button_clicked = st.button("extract")
20
  if doc or button_clicked:
21
  kw_extractor = yake.KeywordExtractor()
 
1
  import streamlit as st
2
  import yake
3
 
4
+ st.set_page_config(page_title="KeyPhrase Extraction", page_icon='🌸', layout="wide")
5
  text = """
6
  Sources tell us that Google is acquiring Kaggle, a platform that hosts data science and machine learning competitions. Details about the transaction remain somewhat vague, but given that Google is hosting its Cloud Next conference in San Francisco this week, the official announcement could come as early as tomorrow.
7
 
 
15
  """
16
  cola, colb = st.columns([1,1])
17
  with cola:
18
+ doc = st.text_area(label="", value=text, placeholder="Search", height=600)
19
  button_clicked = st.button("extract")
20
  if doc or button_clicked:
21
  kw_extractor = yake.KeywordExtractor()