mrzarei commited on
Commit
953192e
1 Parent(s): bdac727

first commit

Browse files
Files changed (2) hide show
  1. app.py +17 -0
  2. requirements.txt +2 -0
app.py ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+
3
+
4
+
5
+ import streamlit as st
6
+ import pandas as pd
7
+
8
+ st.title("A Simple Streamlit Web App")
9
+
10
+ name = st.text_input("Enter your name", '')
11
+
12
+ st.write(f"Hello {name}!")
13
+
14
+ x = st.slider("Select an integer x", 0, 10, 1)
15
+ y = st.slider("Select an integer y", 0, 10, 1)
16
+ df = pd.DataFrame({"x": [x], "y": [y] , "x + y": [x + y]}, index = ["addition row"])
17
+ st.write(df)
requirements.txt ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ streamlit
2
+ pandas