I am trying to deploy my app using Streamlit Sharing. However, upon deploying, it keeps getting stucked at the page where it shows the “Your app is in the oven” with the changing pastry icons.
Below is the log:
[client] Deleting app...
[client] Provisioning machine...
[client] Preparing system...
[client] Spinning up manager process...
[client] Inflating balloons...
[client] Unpacking Comic Sans RAR files...
[client] Loading "Under construction" GIF...
[client] Compiling <blink> tags...
[client] Initializing Java applet...
[client] Please wait...
It has been stuck at “Please wait…” for a few hours. Does anyone have any advice on what I should do? Because there is no error message at all and I am not sure what my next steps should be to debug this issue.
Hello @teyang-lau,
Can you share a link to the Github repo linked to the Streamlit Share deployment so we can investigate? I’m wondering from where the [client] Initializing Java applet...
line comes from.
Best,
Fanilo
Hi @andfanilo,
Thank you for the fast response. The github repo is here
The app file is predict_hdb_prices_streamlit.py
.
I believe the Java applet comes from the Shap Values force plot that I am displaying for my model predictions. But I am not entirely 100% sure.
Here is the gif to how my app looks like locally :
This is what I get when I clone your repo:
The file doesn’t exist in your Data directory.
Hi @randyzwitch,
Sorry for the mistake. I have added the file to my github repo. But I am still getting stuck at the same place:
[client] Deleting app...
[client] Provisioning machine...
[client] Preparing system...
[client] Spinning up manager process...
[client] Inflating balloons...
[client] Unpacking Comic Sans RAR files...
[client] Loading "Under construction" GIF...
[client] Compiling <blink> tags...
[client] Initializing Java applet...
[client] Please wait...
Which is so weird that you can get past my stage.
How long did you wait to get past my stage? Are my logs present in yours too?
Only takes me like 15 seconds, seems to work?
I managed to get it to work when using my Mac at work to deploy it through Google Chrome. But it keeps getting stuck when I use my Windows at home through Google Chrome. Not sure what’s the reason for it