nonstopiodemo commited on
Commit
b926160
·
verified ·
1 Parent(s): aba6578

Upload folder using huggingface_hub

Browse files
Files changed (3) hide show
  1. README.md +2 -11
  2. requirements.txt +1 -0
  3. streamlit_app.py +14 -0
README.md CHANGED
@@ -1,12 +1,3 @@
1
- ---
2
- title: Era
3
- emoji: 💻
4
- colorFrom: indigo
5
- colorTo: yellow
6
- sdk: streamlit
7
- sdk_version: 1.38.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
+ # era
 
 
 
 
 
 
 
 
 
2
 
3
+ This is a Streamlit app generated and deployed automatically.
requirements.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ streamlit
streamlit_app.py ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import streamlit as st
2
+
3
+ def main():
4
+ st.title("Addition of Two Numbers")
5
+
6
+ num1 = st.number_input("Enter first number:")
7
+ num2 = st.number_input("Enter second number:")
8
+
9
+ result = num1 + num2
10
+
11
+ st.write(f"The sum of {num1} and {num2} is: {result}")
12
+
13
+ if __name__ == '__main__':
14
+ main()