Spaces:
Runtime error
Runtime error
Upload folder using huggingface_hub
Browse files- README.md +7 -7
- requirements.txt +1 -0
- streamlit_app.py +13 -0
README.md
CHANGED
|
@@ -1,12 +1,12 @@
|
|
| 1 |
---
|
| 2 |
-
title:
|
| 3 |
-
emoji:
|
| 4 |
colorFrom: blue
|
| 5 |
-
colorTo:
|
| 6 |
sdk: streamlit
|
| 7 |
-
sdk_version: 1.
|
| 8 |
-
app_file:
|
| 9 |
pinned: false
|
| 10 |
---
|
| 11 |
-
|
| 12 |
-
|
|
|
|
| 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()
|