Error when running in google Collab

#34
by ragamuff - opened

Wanted to try running this in google collab but I kept getting this error:

You have passed a non-standard module <function <lambda> at 0x7f4a4b5d71f0>. We cannot verify whether it has the correct type
Traceback (most recent call last):
  File "app.py", line 193, in <module>
    with gr.Blocks(css=css) as demo:
  File "/usr/local/lib/python3.8/dist-packages/gradio/blocks.py", line 473, in __init__
    if css is not None and Path(css).exists():
  File "/usr/lib/python3.8/pathlib.py", line 1407, in exists
    self.stat()
  File "/usr/lib/python3.8/pathlib.py", line 1198, in stat
    return self._accessor.stat(self)
OSError: [Errno 36] File name too long: '.finetuned-diffusion-div div{display:inline-flex;align-items:center;gap:.8rem;font-size:1.75rem}.finetuned-diffusion-div div h1{font-weight:900;margin-bottom:7px}.finetuned-diffusion-div p{margin-bottom:10px;font-size:94%}a{text-decoration:underline}.tabs{margin-top:0;margin-bottom:0}#gallery{min-height:20rem}\n'

Sign up or log in to comment