nonstopiodemo commited on
Commit
a4cbe02
·
verified ·
1 Parent(s): 22c941b

Upload folder using huggingface_hub

Browse files
Files changed (3) hide show
  1. README.md +8 -8
  2. requirements.txt +1 -0
  3. streamlit_app.py +13 -0
README.md CHANGED
@@ -1,12 +1,12 @@
1
  ---
2
- title: Game
3
- emoji: 🏆
4
- colorFrom: indigo
5
- colorTo: purple
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
  ---
2
+ title: game
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
+ # game
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 add_numbers(num1, num2):
4
+ return num1 + num2
5
+
6
+ st.title('Addition of Two Numbers')
7
+
8
+ num1 = st.number_input('Enter the first number:')
9
+ num2 = st.number_input('Enter the second number:')
10
+
11
+ result = add_numbers(num1, num2)
12
+
13
+ st.write('The result of adding {} and {} is: {}'.format(num1, num2, result))