Spaces:
Runtime error
Runtime error
Upload app.py
Browse files
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 |
-
|
|
|
|
|
|
|
| 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()
|