multimodalart HF staff commited on
Commit
2509eb1
1 Parent(s): 517af83

Update app.py

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