Fix this error

#3
by Gertie01 - opened

/s]
generation_config.json: 100%|██████████| 124/124 [00:00<00:00, 833kB/s]

config.json: 0%| | 0.00/665 [00:00<?, ?B/s]
config.json: 100%|██████████| 665/665 [00:00<00:00, 3.54MB/s]

vocab.json: 0%| | 0.00/1.04M [00:00<?, ?B/s]
vocab.json: 100%|██████████| 1.04M/1.04M [00:00<00:00, 16.5MB/s]

merges.txt: 0%| | 0.00/456k [00:00<?, ?B/s]
merges.txt: 100%|██████████| 456k/456k [00:00<00:00, 90.2MB/s]

tokenizer.json: 0%| | 0.00/1.36M [00:00<?, ?B/s]
tokenizer.json: 100%|██████████| 1.36M/1.36M [00:00<00:00, 22.7MB/s]
Fetching Space from: https://huggingface.co/spaces/Gustavosta/MagicPrompt-Stable-Diffusion
Traceback (most recent call last):
File "/home/user/.local/lib/python3.10/site-packages/gradio/external.py", line 343, in from_spaces
config = json.loads(result.group(1))
AttributeError: 'NoneType' object has no attribute 'group'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/home/user/app/app.py", line 77, in
MagicPrompt = gr.Interface.load("spaces/Gustavosta/MagicPrompt-Stable-Diffusion")
File "/home/user/.local/lib/python3.10/site-packages/gradio/interface.py", line 109, in load
return super().load(name=name, src=src, api_key=api_key, alias=alias, **kwargs)
File "/home/user/.local/lib/python3.10/site-packages/gradio/blocks.py", line 1139, in load
return external.load_blocks_from_repo(name, src, api_key, alias, **kwargs)
File "/home/user/.local/lib/python3.10/site-packages/gradio/external.py", line 58, in load_blocks_from_repo
blocks: gradio.Blocks = factory_methods[src](name, api_key, alias, **kwargs)
File "/home/user/.local/lib/python3.10/site-packages/gradio/external.py", line 345, in from_spaces
raise ValueError("Could not load the Space: {}".format(space_name))
ValueError: Could not load the Space: Gustavosta/MagicPrompt-Stable-Diffusion

It's ok.

Sign up or log in to comment