SIGN IN SIGN UP

🔧 chore(__main__.py): refactor loading of environment variables to allow overriding with .env file

The os module is imported to make use of the os.getenv() function. The loading of the environment variables is refactored to check for the presence of the "langflow_database_url" environment variable and use it as the value for the database_url variable if it is not provided. This allows for more flexibility in configuring the database URL. Additionally, the loading of environment variables is refactored to allow overriding with a .env file if the env_file parameter is provided. This allows for easier configuration management.
🔧 chore(__main__.py): import os module and refactor loading of environment variables
G
Gabriel Luiz Freitas Almeida committed
d713d38ca75fbaaef15f6b0568bb07b99702768a
Parent: c0efe4d