Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
import streamlit as st
|
| 2 |
import pyrebase
|
| 3 |
from streamlit_option_menu import option_menu
|
| 4 |
-
|
| 5 |
import annotator
|
| 6 |
|
| 7 |
|
|
@@ -61,10 +61,6 @@ firebaseConfig = {
|
|
| 61 |
'measurementId': st.secrets["config_firebase"][329:341],
|
| 62 |
}
|
| 63 |
|
| 64 |
-
scope = ["https://www.googleapis.com/auth/spreadsheets", "https://www.googleapis.com/auth/drive"]
|
| 65 |
-
creds = service_account.Credentials.from_service_account_info(st.secrets["gcp_service_account"], scopes=scope)
|
| 66 |
-
st.text(creds)
|
| 67 |
-
|
| 68 |
fire = pyrebase.initialize_app(firebaseConfig)
|
| 69 |
auth = fire.auth()
|
| 70 |
|
|
|
|
| 1 |
import streamlit as st
|
| 2 |
import pyrebase
|
| 3 |
from streamlit_option_menu import option_menu
|
| 4 |
+
|
| 5 |
import annotator
|
| 6 |
|
| 7 |
|
|
|
|
| 61 |
'measurementId': st.secrets["config_firebase"][329:341],
|
| 62 |
}
|
| 63 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 64 |
fire = pyrebase.initialize_app(firebaseConfig)
|
| 65 |
auth = fire.auth()
|
| 66 |
|