jbilcke-hf HF Staff commited on
Commit
05b82f0
·
verified ·
1 Parent(s): 533d2f8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -17,7 +17,7 @@ adapter_id = "jbilcke-hf/flux-satellite"
17
 
18
  flux_pipe = DiffusionPipeline.from_pretrained(repo_id, torch_dtype=torch.bfloat16)
19
  flux_pipe.load_lora_weights(adapter_id)
20
- flux_pipe = pipeline.to(device)
21
 
22
  def generate_and_process_map(prompt: str) -> str | None:
23
  """Generate satellite image from prompt and convert to 3D model."""
 
17
 
18
  flux_pipe = DiffusionPipeline.from_pretrained(repo_id, torch_dtype=torch.bfloat16)
19
  flux_pipe.load_lora_weights(adapter_id)
20
+ flux_pipe = flux_pipe.to(device)
21
 
22
  def generate_and_process_map(prompt: str) -> str | None:
23
  """Generate satellite image from prompt and convert to 3D model."""