vanna-ai/vanna-flask

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

Opened this issue · 4 comments

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

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?

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

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

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'],