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

**URL:** <https://discuss.huggingface.co/t/auto-reloading-doesnt-work-no-module-named-gradio-reload/63916>\
**Category:** 🔒 Gradio\
**Created:** [November 28, 2023, 10:08pm UTC](https://discuss.huggingface.co/t/auto-reloading-doesnt-work-no-module-named-gradio-reload/63916 "2023-11-28T22:08:02Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![emrek1](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/emrek1/32/21654_2.png) [@emrek1](https://discuss.huggingface.co/u/emrek1)\
**Post date:** [November 28, 2023, 10:08pm UTC](https://discuss.huggingface.co/t/auto-reloading-doesnt-work-no-module-named-gradio-reload/63916/1 "2023-11-28T22:08:02Z")

</div>

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:

```auto
(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.
