Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -1,6 +1,8 @@
|
|
1 |
import firebase_admin
|
2 |
from firebase_admin import credentials
|
3 |
from firebase_admin import db
|
|
|
|
|
4 |
import pandas as pd
|
5 |
|
6 |
import streamlit as st
|
@@ -10,9 +12,9 @@ import streamlit as st
|
|
10 |
cred = credentials.Certificate("cid1234-firebase-adminsdk-o0jz2-ddc0afe71d.json")
|
11 |
|
12 |
# Initialize the app with the credentials and your database URL
|
13 |
-
firebase_admin.initialize_app(cred, {
|
14 |
-
|
15 |
-
})
|
16 |
|
17 |
# Reference to your Firebase database
|
18 |
ref = db.reference('/')
|
|
|
1 |
import firebase_admin
|
2 |
from firebase_admin import credentials
|
3 |
from firebase_admin import db
|
4 |
+
|
5 |
+
|
6 |
import pandas as pd
|
7 |
|
8 |
import streamlit as st
|
|
|
12 |
cred = credentials.Certificate("cid1234-firebase-adminsdk-o0jz2-ddc0afe71d.json")
|
13 |
|
14 |
# Initialize the app with the credentials and your database URL
|
15 |
+
# firebase_admin.initialize_app(cred, {
|
16 |
+
# 'databaseURL': 'https://cid1234-default-rtdb.firebaseio.com/'
|
17 |
+
# })
|
18 |
|
19 |
# Reference to your Firebase database
|
20 |
ref = db.reference('/')
|