Commit 4b07e220 authored by Dhananjaya Jayashanka's avatar Dhananjaya Jayashanka

UI changers done

parent cd245b26
// TODO: Add SDKs for Firebase products that you want to use
// https://firebase.google.com/docs/web/setup#available-libraries
// Your web app's Firebase configuration
// For Firebase JS SDK v7.20.0 and later, measurementId is optional
var firebaseConfig = {
apiKey: "AIzaSyBhnLZA8NKFBEOojrjK27sVVO_z6H1EDKE",
authDomain: "speech-master-login.firebaseapp.com",
......@@ -17,41 +12,41 @@ var firebaseConfig = {
// Initialize Firebase
firebase.initializeApp(firebaseConfig);
const auth = firebase.auth();
//signup function
function signUp(){
var email = document.getElementById("email");
var password = document.getElementById("password");
const promise = auth.createUserWithEmailAndPassword(email.value,password.value);
promise.catch(e=>alert(e.message));
alert("SignUp Successfully");
}
//signIN function
function signIn(){
var email = document.getElementById("email");
var password = document.getElementById("password");
const promise = auth.signInWithEmailAndPassword(email.value,password.value);
promise.catch(e=>alert(e.message));
// alert("SignUp In Successfully");
const auth = firebase.auth();
//signup function
function signUp() {
var email = document.getElementById("email");
var password = document.getElementById("password");
const promise = auth.createUserWithEmailAndPassword(email.value, password.value);
promise.catch(e => alert(e.message));
alert("SignUp Successfully");
}
//signIN function
function signIn() {
var email = document.getElementById("email");
var password = document.getElementById("password");
const promise = auth.signInWithEmailAndPassword(email.value, password.value);
promise.catch(e => alert(e.message));
// alert("SignUp In Successfully");
}
//signOut
function signOut() {
auth.signOut();
alert("SignOut Successfully from System");
}
//active user to homepage
firebase.auth().onAuthStateChanged((user) => {
if (user) {
var email = user.email;
alert("Active user " + email);
} else {
alert("No Active user Found")
}
//signOut
function signOut(){
auth.signOut();
alert("SignOut Successfully from System");
}
//active user to homepage
firebase.auth().onAuthStateChanged((user)=>{
if(user){
var email = user.email;
alert("Active user "+email);
}else{
alert("No Active user Found")
}
})
\ No newline at end of file
})
\ No newline at end of file
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
import spacy
import textacy
scoreForConclusion = 60/100
nlp = spacy.load("en_core_web_sm")
......
import spacy
import textacy
scoreForIntroduction = 40/100
nlp = spacy.load("en_core_web_sm")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment