Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -42,7 +42,7 @@ else:
|
|
42 |
|
43 |
# Moved pipe initialization inside the CUDA check
|
44 |
pipe = StableDiffusionXLPipeline.from_pretrained(
|
45 |
-
"SG161222/RealVisXL_V4.0_Lightning",
|
46 |
torch_dtype=torch.float16,
|
47 |
use_safetensors=True,
|
48 |
)
|
@@ -396,4 +396,4 @@ with gr.Blocks(css=css, theme="Yntec/HaleyCH_Theme_craiyon_alt") as demo:
|
|
396 |
|
397 |
# --- Launch the App ---
|
398 |
if __name__ == "__main__":
|
399 |
-
demo.queue(max_size=20).launch(debug=True) # Add debug=True for more detailed logs
|
|
|
42 |
|
43 |
# Moved pipe initialization inside the CUDA check
|
44 |
pipe = StableDiffusionXLPipeline.from_pretrained(
|
45 |
+
"SG161222/RealVisXL_V4.0_Lightning", # [or] SG161222/RealVisXL_V5.0_Lightning
|
46 |
torch_dtype=torch.float16,
|
47 |
use_safetensors=True,
|
48 |
)
|
|
|
396 |
|
397 |
# --- Launch the App ---
|
398 |
if __name__ == "__main__":
|
399 |
+
demo.queue(max_size=20).launch(ssr_mode=True, debug=True) # Add debug=True for more detailed logs
|