Open geodra opened 1 year ago
Are you using studio or studio labs? I requested access to studio labs to try myself
I use SageMaker Studio on AWS. You first need to create a domain and then inside a domain a user. SM studio is very similar to Jupyter Lab but with steroids you can do extra stuff like visualizing the pipelines, navigate Jumpstart solution etc. It is weird because when I try to open the page the title says Chatbot but nothing is being rendered as per the image below. Do I need to add some other arguments when running chainlit run
Can you open the browser console (right click inspect) and check if you have errors in the console?
This is what I get when I inspect the page.
Okay, so it is able to get the initial HTML from the chainlit server but then it cannot load the JS and CSS files. Maybe there is an issue with a proxy in between? I will investigate.
I suspect this is the same issue as #38
Any update on this issue?
Not yet, I think the problem is that the chainlit app is not served at the root of the domain or subdomain. Do you have a way to set a direct domain name or subdomain for your app on sagemaker studio?
Any update?
This is has not been addressed yet. The fix for the moment would be to serve your sage maker endpoint from a subdomain. That way the chainlit app would be served at the root level
I tried to deploy a Chainlit app on SM studio running this command.studio..sagemaker.aws/jupyter/default/proxy/6001/ but nothing was being rendered.
chainlit run app.py -w --port 6001
and access it through this url -> https://Streamlit & Gradio APPs can be easily rendered on SM studio as per this repo -> https://github.com/machinelearnear/use-gradio-streamlit-sagemaker-studiolab