Rockk08 commited on
Commit
ad3b22f
1 Parent(s): 61abda0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -1
app.py CHANGED
@@ -14,7 +14,16 @@ def read_root():
14
 
15
  @app.get("/verify/")
16
  def verify_image(url1):
17
- firebaseConfig = os.getenv("FIREBASE_KEY");
 
 
 
 
 
 
 
 
 
18
  firebase = pyrebase.initialize_app(firebaseConfig)
19
  storage = firebase.storage()
20
  path = "Faces/"
 
14
 
15
  @app.get("/verify/")
16
  def verify_image(url1):
17
+ firebaseConfig = {
18
+ "apiKey": f"{os.getenv("API_KEY")}",
19
+ "authDomain": "socioverse-2025.firebaseapp.com",
20
+ "projectId": "socioverse-2025",
21
+ "storageBucket": "socioverse-2025.appspot.com",
22
+ "messagingSenderId": "689574504641",
23
+ "appId": "1:689574504641:web:a22f6a2fa343e4221acc40",
24
+ "databaseURL": "https://console.firebase.google.com/project/socioverse-2025/storage/socioverse-2025.appspot.com/files",
25
+ "serviceAccount":"Firebase_Service_Account_Keys.json"
26
+ };
27
  firebase = pyrebase.initialize_app(firebaseConfig)
28
  storage = firebase.storage()
29
  path = "Faces/"