Spaces:
Running
on
Zero
Running
on
Zero
Anurag Bhardwaj
commited on
Update app.py
Browse files
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 |
-
|
13 |
-
hf_token = os.environ.get("HF_TOKEN")
|
14 |
|
15 |
pipe = DiffusionPipeline.from_pretrained(
|
16 |
base_model,
|
17 |
torch_dtype=torch.bfloat16,
|
18 |
-
|
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
|