Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse filesThe specifications for the Zero GPU space have changed and it will no longer work unless you do this.
I don't know the details either, but that seems to be the case anyway.
app.py
CHANGED
@@ -1,9 +1,9 @@
|
|
|
|
1 |
import gradio as gr
|
2 |
import torch
|
3 |
from diffusers import StableDiffusionXLPipeline, EulerDiscreteScheduler
|
4 |
from huggingface_hub import hf_hub_download
|
5 |
from safetensors.torch import load_file
|
6 |
-
import spaces
|
7 |
from PIL import Image
|
8 |
|
9 |
SAFETY_CHECKER = True
|
|
|
1 |
+
import spaces
|
2 |
import gradio as gr
|
3 |
import torch
|
4 |
from diffusers import StableDiffusionXLPipeline, EulerDiscreteScheduler
|
5 |
from huggingface_hub import hf_hub_download
|
6 |
from safetensors.torch import load_file
|
|
|
7 |
from PIL import Image
|
8 |
|
9 |
SAFETY_CHECKER = True
|