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

Can't able to open site #2

Open
sidmish opened this issue May 18, 2023 · 8 comments
Open

Can't able to open site #2

sidmish opened this issue May 18, 2023 · 8 comments

Comments

@sidmish
Copy link

sidmish commented May 18, 2023

Screenshot_2023-05-18-09-42-36-26_e4424258c8b8649f6e67d283a50a2cbc.jpg

@mikayelh
Copy link

hey @sidmish , i've noticed this too and pinged @gustavz ! we had a lot of demand :D

@gustavz
Copy link
Owner

gustavz commented May 18, 2023

Rebooting it now. The issue is that streamlit community cloud is not really built for multi users.

@mczhuge
Copy link

mczhuge commented May 19, 2023

@gustavz Thanks for this project. Do you know how to solve this problem?

Traceback (most recent call last):
File "app.py", line 104, in
if not st.session_state["auth_ok"]:
KeyError: 'st.session_state has no key "auth_ok". Did you forget to initialize it? More info: https://docs.streamlit.io/library/advanced-features/session-state#initialization'

@gustavz
Copy link
Owner

gustavz commented May 19, 2023

@mczhuge hm weird, I don't know how you were able to run into this error as auth_ok is initialised here:

DataChad/app.py

Lines 54 to 56 in 3dfff5a

# Authentication and Credentials
if "auth_ok" not in st.session_state:
st.session_state["auth_ok"] = False

@mczhuge
Copy link

mczhuge commented May 19, 2023

@gustavz I solve this. But when I upload the file, it shows:

Failed to load '/Users/$mypath/DataChad/data/sample.jpeg':
tesseract is not installed or it's not in your PATH. See README file for more information.

Besides, when open the DataChad, it naturally appears:

Failed to build chain for data source 'https://github.com/gustavz/DataChad.git' with error: A dataset does not exist at the specified path, or you do not have sufficient permissions to load or create one. Please check the dataset path and make sure that you have sufficient permissions to the path.

@gustavz
Copy link
Owner

gustavz commented May 19, 2023

What kind of file? Name type and suffix please.

@mczhuge
Copy link

mczhuge commented May 19, 2023

sample.jpeg
But I think this is from some other problems,

Dataset 'hub://${ACTIVELOOP_ORG_NAME}/https-github-com-gustavz-DataChad-git-1000' does not exist -> uploading
Failed to build chain for data source 'https://github.com/gustavz/DataChad.git' with error: A dataset does not exist at the specified path, or you do not have sufficient permissions to load or create one. Please check the dataset path and make sure that you have sufficient permissions to the path.
Dataset 'hub://${ACTIVELOOP_ORG_NAME}/https-github-com-gustavz-DataChad-git-1000' does not exist -> uploading

${ACTIVELOOP_ORG_NAME} is my ACTIVELOOP_ORG_NAME in .env

@gustavz
Copy link
Owner

gustavz commented May 22, 2023

Try deleting the datachad related datasets from your activeloop account. They could be broken.
Let me know if this helped.

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