Spaces:
Running on Zero
Running on Zero
Update app.py
Browse files41 unmodified lines42434445464748347 unmodified lines39639739839941 unmodified lines# Moved pipe initialization inside the CUDA checkpipe = StableDiffusionXLPipeline.from_pretrained("SG161222/RealVisXL_V4.0_Lightning",torch_dtype=torch.float16,use_safetensors=True,)347 unmodified lines# --- Launch the App ---if __name__ == "__main__":demo.queue(max_size=20).launch(debug=True) # Add debug=True for more detailed logs41 unmodified lines42434445464748347 unmodified lines39639739839941 unmodified lines# Moved pipe initialization inside the CUDA checkpipe = StableDiffusionXLPipeline.from_pretrained("SG161222/RealVisXL_V4.0_Lightning", # [or] SG161222/RealVisXL_V5.0_Lightningtorch_dtype=torch.float16,use_safetensors=True,)347 unmodified lines# --- Launch the App ---if __name__ == "__main__":demo.queue(max_size=20).launch(ssr_mode=True, debug=True) # Add debug=True for more detailed logs
app.py+2-2