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

No secrets files found. Valid paths for a secrets.toml file are: xxxxxxxx, #12

Open
atang220 opened this issue Jul 12, 2024 · 0 comments

Comments

@atang220
Copy link

atang220 commented Jul 12, 2024

project missing secrets.toml, please give an example

Traceback:
File "F:\programs\anaconda3\Lib\site-packages\streamlit\runtime\scriptrunner\script_runner.py", line 542, in _run_script
exec(code, module.dict)
File "G:\github_workspace\vanna-streamlit-main\app.py", line 41, in
questions = generate_questions_cached()
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "F:\programs\anaconda3\Lib\site-packages\streamlit\runtime\caching\cache_utils.py", line 210, in wrapper
return cached_func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "F:\programs\anaconda3\Lib\site-packages\streamlit\runtime\caching\cache_utils.py", line 239, in call
return self._get_or_create_cached_value(args, kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "F:\programs\anaconda3\Lib\site-packages\streamlit\runtime\caching\cache_utils.py", line 266, in _get_or_create_cached_value
return self._handle_cache_miss(cache, value_key, func_args, func_kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "F:\programs\anaconda3\Lib\site-packages\streamlit\runtime\caching\cache_utils.py", line 322, in _handle_cache_miss
computed_value = self._info.func(*func_args, **func_kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "G:\github_workspace\vanna-streamlit-main\vanna_calls.py", line 13, in generate_questions_cached
vn = setup_vanna()
^^^^^^^^^^^^^
File "F:\programs\anaconda3\Lib\site-packages\streamlit\runtime\caching\cache_utils.py", line 210, in wrapper
return cached_func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "F:\programs\anaconda3\Lib\site-packages\streamlit\runtime\caching\cache_utils.py", line 239, in call
return self._get_or_create_cached_value(args, kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "F:\programs\anaconda3\Lib\site-packages\streamlit\runtime\caching\cache_utils.py", line 266, in _get_or_create_cached_value
return self._handle_cache_miss(cache, value_key, func_args, func_kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "F:\programs\anaconda3\Lib\site-packages\streamlit\runtime\caching\cache_utils.py", line 322, in _handle_cache_miss
computed_value = self._info.func(*func_args, **func_kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

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