-
Notifications
You must be signed in to change notification settings - Fork 5.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ValueError: invalid literal for int() with base 10: #3547
Comments
Hey @firebird199! 👋 I'm here to help you with any bugs, questions, or contributions! Let's squash those bugs together while we wait for a human maintainer. The error you're encountering, To resolve this issue, you need to ensure that the Here's a potential fix for the issue in the params = {
key: value_dict.get("value")
if value_dict.get("_input_type") != "IntInput"
else (
int(value_dict.get("value")) if value_dict.get("value") else None # Add this check
)
if value_dict.get("_input_type") != "FloatInput"
else float(value_dict.get("value")) # type: ignore
} This modification ensures that if You can apply this change to your local copy of the |
This issue was fixed in PR #3514 |
i get it. Thanks all of you |
no it wasn't. same error for me when adding local ollama module and then clicking on Model Name selector |
Hi, @secretgspot . I hope you're doing well. Which version are you using? You can either wait for the v1.0.17 release or clone the repository directly to get the fix. |
Bug Description
When I execute the command pip install langflow -U, the entire installation process goes smoothly. However, after running langflow run, as expected, a web page automatically opens for the user to design the workflow. After filling in the required settings such as the api_key, when I try to drag any model from the Model section, I encounter the following error: ValueError: invalid literal for int() with base 10:. The specific log includes the following:
for help!Thanks.
Reproduction
1 pip install langflow -U
2 langflow run
3 in the open website ,an API_KEY is set
4 drag any model from the Model Section
Expected behavior
not error
Who can help?
No response
Operating System
macos m3
Langflow Version
V1.0.16
Python Version
3.11
Screenshot
Flow File
No response
The text was updated successfully, but these errors were encountered: