Lawrence-cj commited on
Commit
14b358c
1 Parent(s): 69b393a
Files changed (1) hide show
  1. app.py +1 -5
app.py CHANGED
@@ -3,18 +3,14 @@ from __future__ import annotations
3
  import argparse
4
  import os
5
  import sys
6
- from pathlib import Path
7
- current_file_path = Path(__file__).resolve()
8
- sys.path.insert(0, str(current_file_path.parent.parent))
9
  import random
10
  import gradio as gr
11
  import numpy as np
12
  import uuid
13
- from diffusers import ConsistencyDecoderVAE, DPMSolverMultistepScheduler, Transformer2DModel, AutoencoderKL
14
  import torch
15
  from typing import Tuple
16
  from datetime import datetime
17
- from diffusion.sa_solver_diffusers import SASolverScheduler
18
  from peft import PeftModel
19
  from scripts.diffusers_patches import pixart_sigma_init_patched_inputs, PixArtSigmaPipeline
20
 
 
3
  import argparse
4
  import os
5
  import sys
 
 
 
6
  import random
7
  import gradio as gr
8
  import numpy as np
9
  import uuid
10
+ from diffusers import ConsistencyDecoderVAE, DPMSolverMultistepScheduler, Transformer2DModel, AutoencoderKL, SASolverScheduler
11
  import torch
12
  from typing import Tuple
13
  from datetime import datetime
 
14
  from peft import PeftModel
15
  from scripts.diffusers_patches import pixart_sigma_init_patched_inputs, PixArtSigmaPipeline
16