Spaces:
Runtime error
Runtime error
Commit
•
422f9b2
1
Parent(s):
61a8777
Update app.py
Browse files
app.py
CHANGED
@@ -13,9 +13,12 @@ With Kaggle, Google is buying one of the largest and most active communities for
|
|
13 |
|
14 |
Kaggle has a bit of a history with Google, too, but that’s pretty recent. Earlier this month, Google and Kaggle teamed up to host a $100,000 machine learning competition around classifying YouTube videos. That competition had some deep integrations with the Google Cloud Platform, too.
|
15 |
"""
|
16 |
-
|
17 |
-
|
|
|
|
|
18 |
if doc or button_clicked:
|
19 |
kw_extractor = yake.KeywordExtractor()
|
20 |
keywords = kw_extractor.extract_keywords(doc)
|
21 |
-
|
|
|
|
13 |
|
14 |
Kaggle has a bit of a history with Google, too, but that’s pretty recent. Earlier this month, Google and Kaggle teamed up to host a $100,000 machine learning competition around classifying YouTube videos. That competition had some deep integrations with the Google Cloud Platform, too.
|
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()
|
22 |
keywords = kw_extractor.extract_keywords(doc)
|
23 |
+
with colb:
|
24 |
+
st.table(keywords)
|