Spaces:
Sleeping
Sleeping
Download static/js/firebase-config.js from Presight-AI/app: direct link, hf CLI and curl.
- Browser
- Download file 888 Bytes
-
https://huggingface.co/spaces/Presight-AI/app/resolve/main/static/js/firebase-config.js
- Command line
-
hf download hf://spaces/Presight-AI/app/static/js/firebase-config.js
-
curl -L -o firebase-config.js https://huggingface.co/spaces/Presight-AI/app/resolve/main/static/js/firebase-config.js
888 Bytes
| // Firebase Configuration | |
| // REPLACE WITH YOUR ACTUAL FIREBASE CONFIG KEYS | |
| const firebaseConfig = { | |
| apiKey: "AIzaSyCcTEwRwKKEqc4GnYr3q1Qmj9mcrGUmu6M", | |
| authDomain: "presight-ai.firebaseapp.com", | |
| projectId: "presight-ai", | |
| storageBucket: "presight-ai.firebasestorage.app", | |
| messagingSenderId: "109980777436", | |
| appId: "1:109980777436:web:32a441998fe915205bed19" | |
| }; | |
| // Initialize Firebase | |
| import { initializeApp } from "https://www.gstatic.com/firebasejs/9.22.0/firebase-app.js"; | |
| import { getAuth, GoogleAuthProvider } from "https://www.gstatic.com/firebasejs/9.22.0/firebase-auth.js"; | |
| import { getFirestore } from "https://www.gstatic.com/firebasejs/9.22.0/firebase-firestore.js"; | |
| const app = initializeApp(firebaseConfig); | |
| const auth = getAuth(app); | |
| const db = getFirestore(app); | |
| const googleProvider = new GoogleAuthProvider(); | |
| export { auth, db, googleProvider }; | |