Update app.py
Browse files
app.py
CHANGED
@@ -17,7 +17,7 @@ def main():
|
|
17 |
L = st.number_input('Relative Luminosity')
|
18 |
R = st.number_input('Relative Radius')
|
19 |
AM = st.number_input('Absolute Magnitude')
|
20 |
-
Color = st.
|
21 |
Spectral_Class = st.selectbox("Spectral_Class",options=unique_SC)
|
22 |
clicked = st.form_submit_button("Predict type")
|
23 |
if clicked:
|
@@ -42,7 +42,7 @@ def main():
|
|
42 |
else:
|
43 |
result = "Hyper Giants"
|
44 |
|
45 |
-
st.write(f"
|
46 |
|
47 |
if __name__=="__main__":
|
48 |
main()
|
|
|
17 |
L = st.number_input('Relative Luminosity')
|
18 |
R = st.number_input('Relative Radius')
|
19 |
AM = st.number_input('Absolute Magnitude')
|
20 |
+
Color = st.selectbox("General Color of Spectrum",options=unique_CL)
|
21 |
Spectral_Class = st.selectbox("Spectral_Class",options=unique_SC)
|
22 |
clicked = st.form_submit_button("Predict type")
|
23 |
if clicked:
|
|
|
42 |
else:
|
43 |
result = "Hyper Giants"
|
44 |
|
45 |
+
st.write(f"star type... {result}")
|
46 |
|
47 |
if __name__=="__main__":
|
48 |
main()
|