Update app.py
Browse files
app.py
CHANGED
@@ -1,6 +1,8 @@
|
|
1 |
import streamlit as st
|
2 |
from google.cloud import language_v1
|
3 |
from google.oauth2 import service_account
|
|
|
|
|
4 |
|
5 |
# Load Google Cloud credentials
|
6 |
credentials = service_account.Credentials.from_service_account_file(json.loads(st.secrets["GOOGLE_APPLICATION_CREDENTIALS"]))
|
|
|
1 |
import streamlit as st
|
2 |
from google.cloud import language_v1
|
3 |
from google.oauth2 import service_account
|
4 |
+
import json
|
5 |
+
|
6 |
|
7 |
# Load Google Cloud credentials
|
8 |
credentials = service_account.Credentials.from_service_account_file(json.loads(st.secrets["GOOGLE_APPLICATION_CREDENTIALS"]))
|