nornorr commited on
Commit
611444e
·
1 Parent(s): a3984fd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -29,17 +29,17 @@ def main():
29
  })
30
  )
31
  if result[0] == 0:
32
- result = "Red "
33
  elif result[0] == 1:
34
- result = "Brown"
35
  elif result[0] == 2:
36
- result = "White"
37
  elif result[0] == 3:
38
  result = "Main Sequence"
39
  elif result[0] == 4:
40
- result = "Main "
41
  else:
42
- result = "Iris-virginica"
43
 
44
  st.write(f"Your predicted class is {result}")
45
 
 
29
  })
30
  )
31
  if result[0] == 0:
32
+ result = "Red Dwarf"
33
  elif result[0] == 1:
34
+ result = "Brown Dwarf"
35
  elif result[0] == 2:
36
+ result = "White Dwarf"
37
  elif result[0] == 3:
38
  result = "Main Sequence"
39
  elif result[0] == 4:
40
+ result = "Super Giants"
41
  else:
42
+ result = "Hyper Giants"
43
 
44
  st.write(f"Your predicted class is {result}")
45