vanna-ai / vanna-flask

Web server for chatting with your database
MIT License
116 stars 53 forks source link

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

Open sthakur369 opened 7 months ago

sthakur369 commented 7 months ago

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 commented 7 months ago

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 commented 7 months ago

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

zainhoda commented 7 months ago

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

srinivasaraokoyya commented 4 months ago

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