sd-webui-colab icon indicating copy to clipboard operation
sd-webui-colab copied to clipboard

[Bug]: No module named 'gradio'

Open GothicOctopus opened this issue 1 year ago • 1 comments

What happened?

Running normally.

Got to 3 - Launch WebUI.

Error message.

Traceback (most recent call last): File "scripts/webui.py", line 3, in from frontend.frontend import draw_gradio_ui File "/content/stable-diffusion/frontend/frontend.py", line 1, in import gradio as gr ModuleNotFoundError: No module named 'gradio'

Someone told me to tell it to !pip install gradio

No idea where to put that, or in what file tho.

Version

0.0.1 (Default)

What browsers are you seeing the problem on?

Firefox

Where are you running the webui?

Colab

Custom settings

No response

Relevant log output

Traceback (most recent call last):
  File "scripts/webui.py", line 3, in <module>
    from frontend.frontend import draw_gradio_ui
  File "/content/stable-diffusion/frontend/frontend.py", line 1, in <module>
    import gradio as gr
ModuleNotFoundError: No module named 'gradio'

Code of Conduct

  • [X] I agree to follow this project's Code of Conduct

GothicOctopus avatar May 09 '23 22:05 GothicOctopus

The same happens to me

Marcelgaviria7 avatar Jun 26 '23 21:06 Marcelgaviria7