does not appear to have a file named config.json

#9
by doevent - opened
Traceback (most recent call last):
  File "/home/user/app/app.py", line 12, in <module>
    transformer = FluxTransformer2DModel.from_pretrained("sayakpaul/FLUX.1-merged", torch_dtype=dtype)
  File "/usr/local/lib/python3.10/site-packages/huggingface_hub/utils/_validators.py", line 114, in _inner_fn
    return fn(*args, **kwargs)
  File "/usr/local/lib/python3.10/site-packages/diffusers/models/modeling_utils.py", line 612, in from_pretrained
    config, unused_kwargs, commit_hash = cls.load_config(
  File "/usr/local/lib/python3.10/site-packages/huggingface_hub/utils/_validators.py", line 114, in _inner_fn
    return fn(*args, **kwargs)
  File "/usr/local/lib/python3.10/site-packages/diffusers/configuration_utils.py", line 406, in load_config
    raise EnvironmentError(
OSError: sayakpaul/FLUX.1-merged does not appear to have a file named config.json.

Refer to the updated code example on the model card.

sayakpaul changed discussion status to closed

Sign up or log in to comment