cavargas10 commited on
Commit
afad0d4
·
verified ·
1 Parent(s): 4df4c02

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -13
app.py CHANGED
@@ -194,19 +194,6 @@ model.load_state_dict(state_dict, strict=True)
194
 
195
  model = model.to(device)
196
 
197
- # # Load text-to-image model
198
- # print('Loading text-to-image model ...')
199
-
200
- # pipe = StableDiffusionXLPipeline.from_pretrained(
201
- # "stabilityai/stable-diffusion-xl-base-1.0", torch_dtype=torch.bfloat16)
202
- # pipe.to(device="cuda", dtype=torch.bfloat16)
203
-
204
- # unet_state = load_file(hf_hub_download(
205
- # "ByteDance/Hyper-SD", "Hyper-SDXL-1step-Unet.safetensors"), device="cuda")
206
- # pipe.unet.load_state_dict(unet_state)
207
- # pipe.scheduler = LCMScheduler.from_config(
208
- # pipe.scheduler.config, timestep_spacing="trailing")
209
-
210
  print('Carga Completa!')
211
 
212
  # Gradio UI
 
194
 
195
  model = model.to(device)
196
 
 
 
 
 
 
 
 
 
 
 
 
 
 
197
  print('Carga Completa!')
198
 
199
  # Gradio UI