Spaces:
Sleeping
Sleeping
Download frontend/src/firebase.js from aditya-rAj19/FaceSWAP: direct link, hf CLI and curl.
- Browser
- Download file 844 Bytes
-
https://huggingface.co/spaces/aditya-rAj19/FaceSWAP/resolve/main/frontend/src/firebase.js
- Command line
-
hf download hf://spaces/aditya-rAj19/FaceSWAP/frontend/src/firebase.js
-
curl -L -o firebase.js https://huggingface.co/spaces/aditya-rAj19/FaceSWAP/resolve/main/frontend/src/firebase.js
844 Bytes
| import { initializeApp } from 'firebase/app'; | |
| import { getAuth, GoogleAuthProvider, signInWithPopup, signInWithRedirect, getRedirectResult, signOut, onAuthStateChanged } from 'firebase/auth'; | |
| const firebaseConfig = { | |
| apiKey: "AIzaSyCF9t3xPf_Se4qkqAHFRoW-YqG8LfoQIpo", | |
| authDomain: "deepface-aditya.firebaseapp.com", | |
| projectId: "deepface-aditya", | |
| storageBucket: "deepface-aditya.firebasestorage.app", | |
| messagingSenderId: "596616284131", | |
| appId: "1:596616284131:web:8ad02bce5645a03e1b42d6", | |
| measurementId: "G-44EVTLV0VL", | |
| }; | |
| const fbApp = initializeApp(firebaseConfig); | |
| const auth = getAuth(fbApp); | |
| const googleProvider = new GoogleAuthProvider(); | |
| export { auth, googleProvider, signInWithPopup, signInWithRedirect, getRedirectResult, signOut, onAuthStateChanged }; | |