John6666 commited on
Commit
9ee0e66
1 Parent(s): 2b54d8e

Update app.py

Browse files

The 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.

Files changed (1) hide show
  1. app.py +1 -1
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