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

HTTP 404 Errors for .js and .css Files Resulting in Blank Frontend Screen #4

Open
sthakur369 opened this issue Mar 7, 2024 · 4 comments

Comments

@sthakur369
Copy link
Contributor

The issue arises with HTTP 404 errors for .js and .css files when accessing http://127.0.0.1:5000/. Consequently, this results in a blank screen on the frontend.

image

@zainhoda
Copy link
Contributor

That's really surprising. The static assets are in this folder:
https://github.com/vanna-ai/vanna-flask/tree/main/static/assets

If you cloned the repo, then it should be able to load these. Did you modify the app.py code in some way? Perhaps the static directory got changed somehow in the app config?

@USTAADCOM
Copy link

@sthakur369 I am also facing the same problem. Is there any solution.

@zainhoda
Copy link
Contributor

@sthakur369 @USTAADCOM can you provide the exact steps that you went through to run this?

@srinivasaraokoyya
Copy link

Hi,
I am getting the error.
Please help me what are the parameters i need to pass.

model=os.environ['VANNA_MODEL'], api_key=os.environ['VANNA_API_KEY'])
account=os.environ['SNOWFLAKE_ACCOUNT'],
username=os.environ['SNOWFLAKE_USERNAME'],
password=os.environ['SNOWFLAKE_PASSWORD'],
database=os.environ['SNOWFLAKE_DATABASE'],
warehouse=os.environ['SNOWFLAKE_WAREHOUSE'],

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

4 participants