Update app.py
Browse files
app.py
CHANGED
@@ -12,11 +12,11 @@ def main():
|
|
12 |
st.title("My star type")
|
13 |
st.image("https://img.freepik.com/free-vector/different-types-stars-dark-space_1308-37762.jpg")
|
14 |
with st.form("questionaire"):
|
15 |
-
K = st.
|
16 |
-
L = st.
|
17 |
-
R = st.
|
18 |
-
AM = st.
|
19 |
-
Color = st.
|
20 |
Spectral_Class = st.selectbox("Spectral_Class",options=unique_SC)
|
21 |
clicked = st.form_submit_button("Predict type")
|
22 |
if clicked:
|
|
|
12 |
st.title("My star type")
|
13 |
st.image("https://img.freepik.com/free-vector/different-types-stars-dark-space_1308-37762.jpg")
|
14 |
with st.form("questionaire"):
|
15 |
+
K = st.number_input('Temperature')
|
16 |
+
L = st.number_input('Relative Luminosity')
|
17 |
+
R = st.number_input('Relative Radius')
|
18 |
+
AM = st.number_input('Absolute Magnitude')
|
19 |
+
Color = st.number_input("General Color of Spectrum")
|
20 |
Spectral_Class = st.selectbox("Spectral_Class",options=unique_SC)
|
21 |
clicked = st.form_submit_button("Predict type")
|
22 |
if clicked:
|