Spaces:
Runtime error
Runtime error
Update app.py
Browse files93 unmodified lines94959697989910010110210310410510610793 unmodified linessampler=PIPELINE_CONFIG_YAML["sampler"], # "from_checkpoint" or specific samplerdevice=DEVICE,enhance_prompt=False, # Assuming Gradio controls this, or set based on YAML later).to(torch.bfloat16)# Create Latent Upsamplerlatent_upsampler = create_latent_upsampler(latent_upsampler_model_path=spatial_upsampler_path,device=DEVICE)latent_upsampler = latent_upsampler.to(torch.bfloat16)# Multi-scale pipeline (wrapper)93 unmodified lines94959697989910010110210310410510610793 unmodified linessampler=PIPELINE_CONFIG_YAML["sampler"], # "from_checkpoint" or specific samplerdevice=DEVICE,enhance_prompt=False, # Assuming Gradio controls this, or set based on YAML later)#.to(torch.bfloat16)# Create Latent Upsamplerlatent_upsampler = create_latent_upsampler(latent_upsampler_model_path=spatial_upsampler_path,device=DEVICE)#latent_upsampler = latent_upsampler.to(torch.bfloat16)# Multi-scale pipeline (wrapper)
app.py+2-2