Commit
·
4194e16
1
Parent(s):
726abaa
Update app.py
Browse files
app.py
CHANGED
@@ -5,6 +5,7 @@ from google.cloud import language_v1
|
|
5 |
|
6 |
def sample_analyze_entities(text_content):
|
7 |
# Your existing code here
|
|
|
8 |
|
9 |
# Streamlit app
|
10 |
st.title('Google Cloud NLP Entity Analyzer')
|
@@ -14,4 +15,4 @@ if st.button('Analyze'):
|
|
14 |
if user_input:
|
15 |
sample_analyze_entities(user_input)
|
16 |
else:
|
17 |
-
st.write("Please enter some text to analyze.")
|
|
|
5 |
|
6 |
def sample_analyze_entities(text_content):
|
7 |
# Your existing code here
|
8 |
+
pass # Remove this line when you add your code back
|
9 |
|
10 |
# Streamlit app
|
11 |
st.title('Google Cloud NLP Entity Analyzer')
|
|
|
15 |
if user_input:
|
16 |
sample_analyze_entities(user_input)
|
17 |
else:
|
18 |
+
st.write("Please enter some text to analyze.")
|