Godfrey123 commited on
Commit
08d9e13
1 Parent(s): 4d329ed

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +12 -7
app.py CHANGED
@@ -1,15 +1,20 @@
1
  import streamlit as st
2
 
3
  def main():
4
- st.title("My Multi-Platform Application")
5
- st.write("Welcome to the app that will be available on web, Android, and iOS!")
6
 
7
- # Add more features here
8
- st.subheader("Latest Videos from YouTube")
9
- # Add YouTube video fetching code here
10
 
11
- st.subheader("Live Football Scores")
12
- # Add live score scraping code here
 
 
 
 
 
13
 
14
  if __name__ == "__main__":
15
  main()
 
1
  import streamlit as st
2
 
3
  def main():
4
+ st.title("My Enhanced Streamlit App")
5
+ st.write("Welcome to my Streamlit app!")
6
 
7
+ # Add a button to trigger an action
8
+ if st.button("Click Me"):
9
+ st.write("You clicked the button!")
10
 
11
+ # Add a slider for user input
12
+ age = st.slider("Select Your Age", 0, 100, 25)
13
+ st.write(f"Your Age: {age}")
14
+
15
+ # Add a text input for user input
16
+ name = st.text_input("Enter Your Name")
17
+ st.write(f"Hello, {name}!")
18
 
19
  if __name__ == "__main__":
20
  main()