blazingbunny commited on
Commit
564ce0c
·
1 Parent(s): 16ba9eb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -0
app.py CHANGED
@@ -1,3 +1,7 @@
 
 
 
 
1
  def sample_analyze_entities(text_content):
2
  # Parse the JSON string to a dictionary
3
  service_account_info = json.loads(st.secrets["google_nlp"])
 
1
+ import json
2
+ from google.oauth2 import service_account
3
+ from google.cloud import language_v1
4
+
5
  def sample_analyze_entities(text_content):
6
  # Parse the JSON string to a dictionary
7
  service_account_info = json.loads(st.secrets["google_nlp"])