Module 3, Lab 2 on "Loading and Using Your Own Data"

Hi,

I got the following message (instead of the upload file button) when running the code upload_txt_file() as part of the lesson:

FileUpload(value=(), accept='.txt', description='Upload')
Output()

I am learning the course on the Coursera platform.

Grateful if I can get some advice what I can do to fix the problem. Thank you.

Hi @Joanne_Guo,

I just tried the notebook myself, and did not encounter this, so maybe try running the notebook again.

Also, are you running the notebooks on Coursera platform or have you downloaded them and trying to run them locally on your computer?

@Mubsi,

I am running the notebooks on the Coursera platform. I re-started and cleared the output many times yesterday and got the same error message. I even tried learning more and debugging using AI. I just tried it again and strangely, it now works. Thank you for your swift response. Much appreciated.

I’m glad it is working for you. Sometimes there can be temporary issues. The best first step always is to restart the kernel and run the lab again.

Closing this thread now.