nornorr commited on
Commit
bc6147d
·
1 Parent(s): 5cbb166

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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.number_input("General Color of Spectrum")
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"Your predicted class is {result}")
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()