Spaces:
Build error
Build error
Commit
·
8b78402
1
Parent(s):
0018204
Update app.py
Browse files
app.py
CHANGED
@@ -4,7 +4,8 @@ from google.cloud import language_v1
|
|
4 |
|
5 |
# Your existing function
|
6 |
def sample_analyze_entities(text_content):
|
7 |
-
#
|
|
|
8 |
|
9 |
# Streamlit UI
|
10 |
st.title('Google Cloud NLP Entity Analyzer')
|
@@ -12,4 +13,4 @@ user_input = st.text_area('Enter text to analyze', '')
|
|
12 |
|
13 |
if st.button('Analyze'):
|
14 |
if user_input:
|
15 |
-
sample_analyze_entities(user_input)
|
|
|
4 |
|
5 |
# Your existing function
|
6 |
def sample_analyze_entities(text_content):
|
7 |
+
# Your existing code to analyze entities goes here.
|
8 |
+
pass
|
9 |
|
10 |
# Streamlit UI
|
11 |
st.title('Google Cloud NLP Entity Analyzer')
|
|
|
13 |
|
14 |
if st.button('Analyze'):
|
15 |
if user_input:
|
16 |
+
sample_analyze_entities(user_input)
|