multimodalart HF staff commited on
Commit
e240cf7
1 Parent(s): a29df6c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -1,12 +1,12 @@
1
- from diffusers import StableDiffusionXLPipeline, AutoencoderKL
2
- from diffusers import DPMSolverMultistepScheduler as DefaultDPMSolver
3
-
4
  import random
5
  import torch
6
  import numpy as np
7
  import gradio as gr
8
  import spaces
9
 
 
 
 
10
  # Add support for setting custom timesteps
11
  class DPMSolverMultistepScheduler(DefaultDPMSolver):
12
  def set_timesteps(
 
 
 
 
1
  import random
2
  import torch
3
  import numpy as np
4
  import gradio as gr
5
  import spaces
6
 
7
+ from diffusers import StableDiffusionXLPipeline, AutoencoderKL
8
+ from diffusers import DPMSolverMultistepScheduler as DefaultDPMSolver
9
+
10
  # Add support for setting custom timesteps
11
  class DPMSolverMultistepScheduler(DefaultDPMSolver):
12
  def set_timesteps(