Glitch issue when deploying streamlit app in python

If you’re creating a debugging post, please include the following info:

  1. Running app locally through anaconda navigator
  2. Link to github repo: rebecca-dash/iLearn: iLearn is a virtual AI tutoring app (github.com)
  3. My app glitches as if it is constantly reloading/refreshing. But this only happens when I deploy it on my windows laptop. My friend can run the app and it’s perfectly fine.
  4. Share the Streamlit and Python versions. Streamlit version is 1.32.2 and python version is 3.11.7.

I use visual studio code and have streamlit extras package included in the app. I am not sure why it glitches for me. Can anyone help? Thank you!

1 Like

Hi @Rebecca_Brown,

Thanks for sharing this question!

Can you share a screen recording of this issue?

If this is happening locally, it could be some configuration issues tied to your system especially if someone else can run it on a separate system and have no issues.

1 Like

Hey, I’m encountering a problem similar to this, and I’ve hosted my application on Streamlit Cloud.

Glitching occurs when I scroll the screen while streaming the response from OpenAI. It glitches and abruptly takes me back to the top.

Please check at the recording for a sample app - Screen Recording 2024-03-19 at 4.41.00 PM (online-video-cutter.com).mp4 - Google Drive

1 Like

Thank you for providing the recording showing the issue. I will forward this to our engineering team and report back with feedback.

1 Like

@Rebecca_Brown, are you experiencing the same issue as @Nidesh_Arumugam or is it different? (See the recording by Nidesh.)

1 Like

Can you please do another screen recording but this time when the app is running locally so we can see if the same issue is happening locally?

Also, please share a link to your app.

1 Like

Hello, here is a recording I did for my end. I run it locally. Thank you.

(Attachment IMG_0.MOV is missing)

1 Like

The recording didn’t attach it seems. Can you reattach it and post it.

1 Like

I had uploaded a .mov file but it was not compatible with this. I converted to .mp4 and had to cut down the video. On my end I can see the data table of the logins posted. Usernames and hash passwords. These are fake though, so no personal information is released. This is the glitch that I see on my end.

(Attachment IMG_7105.mp4 is missing)

1 Like

Okay, an mp4 is also not an allowed file type. I hope you are still able to see it. This is a .gif file.

(Attachment IMG_7105 2.gif is missing)

1 Like

I think you should try uploading the video to Google Drive then share link here so I can view it that way.

1 Like

Okay, hopefully this works!
https://drive.google.com/file/d/1JA7J-nujOzDrMRovXsw7yOLPzGKJmX7c/view?usp=drive_link

I don’t have access to your video but just requested it.

Okay, try accessing it now. Also, thank you for still trying to help!

Thanks for sharing. I have access to it and also great explanation. One thing that I would recommend for you to try is creating a simple app and running it on your system to see if it has the same behavior. This will be helpful in trying to isolate the issue causing the glitching. If you deploy the app in the recording to Streamlit Community Cloud, does it still glitch?

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.