dagloop5 commited on
Commit
f366d6e
·
verified ·
1 Parent(s): 6f55b1e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -441,7 +441,7 @@ def load_lora_into_cache(lora_path: str) -> StateDict:
441
 
442
  # Use safe_open for memory-efficient streaming reads of large files
443
  tensors = {}
444
- with safe_open(lora_path, framework="safetensors") as f:
445
  for key in f.keys():
446
  tensors[key] = f.get_tensor(key)
447
 
@@ -941,7 +941,7 @@ with gr.Blocks(title="LTX-2.3 Distilled with LoRAs, Negative Prompting, and Adva
941
 
942
  negative_prompt = gr.Textbox(
943
  label="Negative Prompt",
944
- value="List what you specifically don't want",
945
  lines=2,
946
  )
947
 
 
441
 
442
  # Use safe_open for memory-efficient streaming reads of large files
443
  tensors = {}
444
+ with safe_open(lora_path, framework="pt", device="cpu") as f:
445
  for key in f.keys():
446
  tensors[key] = f.get_tensor(key)
447
 
 
941
 
942
  negative_prompt = gr.Textbox(
943
  label="Negative Prompt",
944
+ value="worst quality, inconsistent motion, blurry, jittery, distorted, deformed, artifacts, text, watermark, logo, frame, border, low resolution, pixelated, unnatural, fake, CGI, cartoon",
945
  lines=2,
946
  )
947