Spaces:
Configuration error
Configuration error
Upload folder using huggingface_hub
Browse files- README.md +2 -11
- requirements.txt +1 -0
- 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 |
-
|
|
|
|
| 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()
|