blazingbunny commited on
Commit
d1bd61d
·
1 Parent(s): 344bdb1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -4,6 +4,9 @@ from google.cloud import language_v1
4
  import json
5
  import os
6
 
 
 
 
7
 
8
  def sample_analyze_entities(text_content):
9
  # Directly read the JSON credentials from st.secrets
 
4
  import json
5
  import os
6
 
7
+ st.write(f"Debug: {type(st.secrets['google_nlp'])} - {st.secrets['google_nlp']}")
8
+ st.write(f"Debug: {type(st.secrets['google_nlp']['credentials'])} - {st.secrets['google_nlp']['credentials']}")
9
+
10
 
11
  def sample_analyze_entities(text_content):
12
  # Directly read the JSON credentials from st.secrets