multimodalart HF staff commited on
Commit
4230ad8
1 Parent(s): fa88557

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -1,11 +1,11 @@
1
  import gradio as gr
 
 
2
  from diffusers import StableDiffusionXLPipeline, EDMEulerScheduler, StableDiffusionXLInstructPix2PixPipeline, AutoencoderKL
3
  from custom_pipeline import CosStableDiffusionXLInstructPix2PixPipeline
4
  from huggingface_hub import hf_hub_download
5
  import numpy as np
6
  import math
7
- import spaces
8
- import torch
9
  from PIL import Image
10
 
11
  edit_file = hf_hub_download(repo_id="stabilityai/cosxl", filename="cosxl_edit.safetensors")
 
1
  import gradio as gr
2
+ import spaces
3
+ import torch
4
  from diffusers import StableDiffusionXLPipeline, EDMEulerScheduler, StableDiffusionXLInstructPix2PixPipeline, AutoencoderKL
5
  from custom_pipeline import CosStableDiffusionXLInstructPix2PixPipeline
6
  from huggingface_hub import hf_hub_download
7
  import numpy as np
8
  import math
 
 
9
  from PIL import Image
10
 
11
  edit_file = hf_hub_download(repo_id="stabilityai/cosxl", filename="cosxl_edit.safetensors")