sakunich commited on
Commit
25a5012
·
1 Parent(s): 4cc402d

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -31,7 +31,9 @@ def main():
31
  "Education Level": [EDU_DICT[education]],
32
  "Job Title": [job_title],
33
  "Years of Experience": [years_of_experience]}))[0]
34
- st.success(f'The predicted Salary is {result[0]}')
 
 
35
 
36
  if __name__=='__main__':
37
  main()
 
31
  "Education Level": [EDU_DICT[education]],
32
  "Job Title": [job_title],
33
  "Years of Experience": [years_of_experience]}))[0]
34
+ result_integer = int(result) # Convert to integer
35
+
36
+ st.success(f'The predicted Salary is {result_integer}')
37
 
38
  if __name__=='__main__':
39
  main()