Spaces:
Runtime error
Runtime error
Commit
·
e2b80bc
1
Parent(s):
0686ffd
test
Browse files- .gitignore +1 -0
- Face-Mask-Detection.model +3 -0
- app.py +19 -0
- requirements.txt +2 -0
.gitignore
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
.venv
|
Face-Mask-Detection.model
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4012822f9733015df4cd97ea195568bd8237881ea955d24d0693834fd3d8870d
|
3 |
+
size 198912104
|
app.py
ADDED
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import streamlit as st
|
2 |
+
import pandas as pd
|
3 |
+
|
4 |
+
# Takes in a username and prints out a greeting text
|
5 |
+
st.title('A Simple Streamlit Web App')
|
6 |
+
name = st.text_input('Your name', '')
|
7 |
+
if len(name) > 0:
|
8 |
+
st.write(f'Hello {name}!')
|
9 |
+
|
10 |
+
st.header("Let's do some math")
|
11 |
+
# Takes in two slider inputs of integers ranging from 0 to 10
|
12 |
+
x = st.slider('Select an integer x', 0, 10, 3)
|
13 |
+
y = st.slider('Select an integer y', 0, 10, 5)
|
14 |
+
df = pd.DataFrame(
|
15 |
+
{'x': [x], 'y': [y], 'x + y': [x + y]},
|
16 |
+
index = ['addition row'],
|
17 |
+
)
|
18 |
+
# Prints out the variables and their sums
|
19 |
+
st.write(df)
|
requirements.txt
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
1 |
+
streamlit
|
2 |
+
pandas
|