Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,8 +1,8 @@
|
|
| 1 |
import streamlit as st
|
| 2 |
|
| 3 |
def get_userInput(): #from the UI App
|
| 4 |
-
|
| 5 |
-
return
|
| 6 |
|
| 7 |
def validate_userInput(user_input):
|
| 8 |
if user_input.isdigit():
|
|
|
|
| 1 |
import streamlit as st
|
| 2 |
|
| 3 |
def get_userInput(): #from the UI App
|
| 4 |
+
input = st.text_input("Enter a number: ", key="input")
|
| 5 |
+
return input
|
| 6 |
|
| 7 |
def validate_userInput(user_input):
|
| 8 |
if user_input.isdigit():
|