Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -1,15 +1,5 @@
|
|
1 |
import streamlit as st
|
2 |
from transformers import pipeline
|
3 |
-
import random
|
4 |
-
|
5 |
-
def send_otp_to_email(email):
|
6 |
-
# Generate OTP
|
7 |
-
otp = ''.join([str(random.randint(0, 9)) for _ in range(6)])
|
8 |
-
|
9 |
-
# Simulate sending OTP to email (print for demonstration)
|
10 |
-
print(f"OTP {otp} sent to email address: {email}")
|
11 |
-
|
12 |
-
return otp
|
13 |
|
14 |
def enter_otp():
|
15 |
st.title("OTP Verification")
|
|
|
1 |
import streamlit as st
|
2 |
from transformers import pipeline
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
|
4 |
def enter_otp():
|
5 |
st.title("OTP Verification")
|