gokaygokay commited on
Commit
0e4b750
·
1 Parent(s): 148741c
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -281,7 +281,7 @@ if __name__ == "__main__":
281
  quantization_config = BitsAndBytesConfig(load_in_4bit=True)
282
  hf_token = ""
283
  dtype = torch.bfloat16
284
- file_url = "https://huggingface.co/gokaygokay/flux-game/blob/main/gokaygokay_00001_.safetensors"
285
  single_file_base_model = "camenduru/FLUX.1-dev-diffusers"
286
  transformer = FluxTransformer2DModel.from_single_file(file_url, subfolder="transformer", torch_dtype=dtype, config=single_file_base_model, quantization_config=quantization_config)
287
  flux_pipeline = FluxPipeline.from_pretrained(single_file_base_model, transformer=transformer, torch_dtype=dtype, token=huggingface_token, quantization_config=quantization_config)
 
281
  quantization_config = BitsAndBytesConfig(load_in_4bit=True)
282
  hf_token = ""
283
  dtype = torch.bfloat16
284
+ file_url = "https://huggingface.co/gokaygokay/flux-game/resolve/main/gokaygokay_00001_.safetensors"
285
  single_file_base_model = "camenduru/FLUX.1-dev-diffusers"
286
  transformer = FluxTransformer2DModel.from_single_file(file_url, subfolder="transformer", torch_dtype=dtype, config=single_file_base_model, quantization_config=quantization_config)
287
  flux_pipeline = FluxPipeline.from_pretrained(single_file_base_model, transformer=transformer, torch_dtype=dtype, token=huggingface_token, quantization_config=quantization_config)