Skip to content

Conversation

@yaman099
Copy link

@yaman099 yaman099 commented Sep 6, 2024

This pull request addresses an issue with input handling in the project. Previously, inputs were being processed as strings, which caused problems when numeric values were expected.

Changes Made:

Updated the input processing logic to enforce numeric values where required.
Ensured that inputs are validated and converted to the appropriate numeric type before further processing.
Impact:

These changes ensure that inputs are correctly interpreted as numeric values, improving the accuracy and reliability of the project.

Additional Information:

we were getting a value error because you wrote text_input() function in streamlitapi.py for text input file but in your your code for age, fare, sibling, parch input must be a number only and your code was not converting the text input value into a number.
I used numeric_input() function available in streamlit package.

The issue has been resolved now.
Screenshot (11)
Screenshot (12)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant