Skip to content

Set STREAMLIT location as in the instructions #1

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

sfc-gh-vtimofeenko
Copy link

The instructions tell the user to upload all files to the root of the stage. The setup_script creates STREAMLIT from /src/ subdirectory.

Without this change, application is created but fails to start.

Alternative is to instruct the user to upload the files to a subdirectory but that would involve specifying src as the path when uploading files.

The instructions tell the user to upload all files to the root of the
stage. The setup_script creates STREAMLIT from /src/ subdirectory.

Without this change, application is created but fails to start.

Alternative is to instruct the user to upload the files to a
subdirectory but that would involve specifying `src` as the path when
uploading files.
@sfc-gh-vtimofeenko
Copy link
Author

The instructions are here:

Click on ‘Select Warehouse' and choose ‘WH_NAP' for the Warehouse
Click on the ‘+ Files' button in the top right corner
Browse to the location where you cloned or downloaded the Github repo and into the ‘/app/' folder
Select all 3 files (setup.sql, manifest.yml, readme.md)
Click the ‘Upload' button
Browse back up one level and then go into the ‘/src/' folder
Select both files (ui.py, environment.yaml)
Click the ‘Upload' button

This results in:
image

All files are in the root.

@ashishpatidar162
Copy link

Query :-

alter application package cortex_app_pkg add version v1 using @cortex_app.napp.app_stage ;

Error:-

Error in file '@APP_STAGE/setup_script.sql': syntax error on line 11 at position 6 unexpected 'ALL'.

Request from Snowflake community :-

please figure out error asap so I can go forward application "Build an AI App with the Snowflake Native App Framework and Snowflake Cortex" ?

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

Successfully merging this pull request may close these issues.

2 participants