Auto-reloading doesn't work. No module named 'gradio.reload'

Hi. auto-reloading doesn’t work for me. I couldn’t find anything related to this problem on the net.
I am working on a python 3.9 environment with pycharm. I remember that it worked on my trials when I first tried gradio.

Now in pycharm in the terminal tab I type “gradio mycode.py” and I get the following error:

(base) PS D:\projects\pythonProject\webuis> gradio mycode.py
Traceback (most recent call last):
  File "C:\Users\emrek\anaconda3\envs\penv39\Scripts\gradio-script.py", line 5, in <module>
    from gradio.reload import run_in_reload_mode
ModuleNotFoundError: No module named 'gradio.reload'

Other than this gradio works fine. I manually rerun the code each time.