Anurag Bhardwaj commited on
Commit
4157d95
·
verified ·
1 Parent(s): eeeb58f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -9,13 +9,12 @@ def load_pipeline():
9
  lora_repo = "strangerzonehf/Flux-Super-Realism-LoRA"
10
  trigger_word = "Super Realism" # Recommended trigger word
11
 
12
- # Retrieve your Hugging Face token from an environment variable
13
- hf_token = os.environ.get("HF_TOKEN")
14
 
15
  pipe = DiffusionPipeline.from_pretrained(
16
  base_model,
17
  torch_dtype=torch.bfloat16,
18
- use_auth_token=hf_token # Use the token stored in your environment variable
19
  )
20
 
21
  # Load the LoRA weights into the pipeline
 
9
  lora_repo = "strangerzonehf/Flux-Super-Realism-LoRA"
10
  trigger_word = "Super Realism" # Recommended trigger word
11
 
12
+
 
13
 
14
  pipe = DiffusionPipeline.from_pretrained(
15
  base_model,
16
  torch_dtype=torch.bfloat16,
17
+
18
  )
19
 
20
  # Load the LoRA weights into the pipeline