Spaces:
Sleeping
Sleeping
Commit ·
1434547
1
Parent(s): 3800d1f
Sync with Remote
Browse files- app.py +11 -0
- requirements.txt +0 -0
app.py
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import streamlit as st
|
| 2 |
+
|
| 3 |
+
def main():
|
| 4 |
+
st.title("My First Streamlit Program!")
|
| 5 |
+
name = st.text_input("Enter your Name:")
|
| 6 |
+
|
| 7 |
+
if st.button("Say hello"):
|
| 8 |
+
st.write(f"Hello {name}, Welcome to Streamlit!")
|
| 9 |
+
|
| 10 |
+
if __name__ == "__main__":
|
| 11 |
+
main()
|
requirements.txt
ADDED
|
File without changes
|