-
Notifications
You must be signed in to change notification settings - Fork 92
Description
Hey,
I thought I would try the Banana extension repo today. I have tried changing the ENV variable model_id to a few different models, but I keep getting this error:
'message': '', 'created': 1676709740, 'apiVersion': 'January 11, 2023', 'modelOutputs': [{'$error': {'code': 'APP_INFERENCE_ERROR', 'name': 'OSError', 'message': 'stabilityai/stable-diffusion-2-1-base does not appear to have a file named model_index.json.', 'stack': 'Traceback (most recent call last):\n File "/api/diffusers/src/diffusers/configuration_utils.py", line 326, in load_config\n config_file = hf_hub_download(\n File "/opt/conda/envs/xformers/lib/python3.9/site-packages/huggingface_hub/utils/_validators.py", line 124, in _inner_fn\n return fn(*args, **kwargs)\n File "/opt/conda/envs/xformers/lib/python3.9/site-packages/huggingface_hub/file_download.py", line 1205, in hf_hub_download\n raise LocalEntryNotFoundError(\nhuggingface_hub.utils._errors.LocalEntryNotFoundError: Cannot find the requested files in the disk cache and outgoing traffic has been disabled. To enable hf.co look-ups and downloads online, set \'local_files_only\' to False.\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File "/api/server.py", line 39, in inference\n output = user_src.inference(model_inputs)\n File "/api/app.py", line 227, in inference\n pipeline = getPipelineForModel(pipeline_name, model, normalized_model_id)\n File "/api/getPipeline.py", line 83, in getPipelineForModel\n pipeline = DiffusionPipeline.from_pretrained(\n File "/api/diffusers/src/diffusers/pipelines/pipeline_utils.py", line 462, in from_pretrained\n config_dict = cls.load_config(\n File "/api/diffusers/src/diffusers/configuration_utils.py", line 354, in load_config\n raise EnvironmentError(\nOSError: stabilityai/stable-diffusion-2-1-base does not appear to have a file named model_index.json.\n'}}]}