Skip to content
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

Unable to run the streamlit app after download #9

Open
pvssrikanth opened this issue Aug 11, 2022 · 0 comments
Open

Unable to run the streamlit app after download #9

pvssrikanth opened this issue Aug 11, 2022 · 0 comments

Comments

@pvssrikanth
Copy link

Hi,
I download code base.

But unable to run the streamlit app

streamlit(mlenv) iibadmin@iibadmin-uat-ubuntu:~/srik/ml/pycaret-deployment-streamlit$ streamlit run app.py
Traceback (most recent call last):
File "/home/iibadmin/srik/ml/mlenv/lib/python3.9/site-packages/toml/decoder.py", line 511, in loads
ret = decoder.load_line(line, currentlevel, multikey,
File "/home/iibadmin/srik/ml/mlenv/lib/python3.9/site-packages/toml/decoder.py", line 778, in load_line
value, vtype = self.load_value(pair[1], strictly_valid)
File "/home/iibadmin/srik/ml/mlenv/lib/python3.9/site-packages/toml/decoder.py", line 812, in load_value
raise ValueError("Empty value is invalid")
ValueError: Empty value is invalid

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/home/iibadmin/srik/ml/mlenv/bin/streamlit", line 8, in
sys.exit(main())
File "/home/iibadmin/srik/ml/mlenv/lib/python3.9/site-packages/click/core.py", line 829, in call
return self.main(*args, **kwargs)
File "/home/iibadmin/srik/ml/mlenv/lib/python3.9/site-packages/click/core.py", line 782, in main
rv = self.invoke(ctx)
File "/home/iibadmin/srik/ml/mlenv/lib/python3.9/site-packages/click/core.py", line 1259, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/home/iibadmin/srik/ml/mlenv/lib/python3.9/site-packages/click/core.py", line 1066, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/home/iibadmin/srik/ml/mlenv/lib/python3.9/site-packages/click/core.py", line 610, in invoke
return callback(*args, **kwargs)
File "/home/iibadmin/srik/ml/mlenv/lib/python3.9/site-packages/streamlit/cli.py", line 173, in main_run
bootstrap.load_config_options(flag_options=kwargs)
File "/home/iibadmin/srik/ml/mlenv/lib/python3.9/site-packages/streamlit/bootstrap.py", line 319, in load_config_options
config.get_config_options(force_reparse=True, options_from_flags=options_from_flags)
File "/home/iibadmin/srik/ml/mlenv/lib/python3.9/site-packages/streamlit/config.py", line 1057, in get_config_options
_update_config_with_toml(file_contents, filename)
File "/home/iibadmin/srik/ml/mlenv/lib/python3.9/site-packages/streamlit/config.py", line 934, in _update_config_with_toml
parsed_config_file = toml.loads(raw_toml)
File "/home/iibadmin/srik/ml/mlenv/lib/python3.9/site-packages/toml/decoder.py", line 514, in loads
raise TomlDecodeError(str(err), original, pos)
toml.decoder.TomlDecodeError: Empty value is invalid (line 4 column 1 char 42)
(mlenv) iibadmin@iibadmin-uat-ubuntu:~/srik/ml/pycaret-deployment-streamlit$

PLEASE GUIDE HOW TO FIX THIS ISSUE and run successfully.

Regards,

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

No branches or pull requests

1 participant