nonstopiodemo commited on
Commit
15eb3f9
·
verified ·
1 Parent(s): f076f6c

Upload folder using huggingface_hub

Browse files
Files changed (3) hide show
  1. README.md +7 -7
  2. requirements.txt +1 -0
  3. streamlit_app.py +13 -0
README.md CHANGED
@@ -1,12 +1,12 @@
1
  ---
2
- title: Hihihi
3
- emoji: 💻
4
  colorFrom: blue
5
- colorTo: yellow
6
  sdk: streamlit
7
- sdk_version: 1.39.0
8
- app_file: app.py
9
  pinned: false
10
  ---
11
-
12
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
1
  ---
2
+ title: hihihi
3
+ emoji: 🚀
4
  colorFrom: blue
5
+ colorTo: green
6
  sdk: streamlit
7
+ sdk_version: "1.10.0"
8
+ app_file: streamlit_app.py
9
  pinned: false
10
  ---
11
+ # hihihi
12
+ This is a Streamlit app generated and deployed automatically.
requirements.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ streamlit
streamlit_app.py ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import streamlit as st
2
+
3
+ def main():
4
+ count = st.session_state.get("count", 0)
5
+
6
+ if st.button("Click me"):
7
+ count += 1
8
+
9
+ st.write(f"Counter: {count}")
10
+ st.session_state["count"] = count
11
+
12
+ if __name__ == "__main__":
13
+ main()