Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -10,12 +10,7 @@ from diffusers import StableDiffusionXLPipeline, EDMEulerScheduler, StableDiffus
|
|
10 |
from custom_pipeline import CosStableDiffusionXLInstructPix2PixPipeline
|
11 |
from huggingface_hub import hf_hub_download
|
12 |
from huggingface_hub import InferenceClient
|
13 |
-
import gradio as gr
|
14 |
-
import numpy as np
|
15 |
-
import random
|
16 |
-
import torch
|
17 |
from diffusers import StableDiffusion3Pipeline, SD3Transformer2DModel, FlowMatchEulerDiscreteScheduler
|
18 |
-
import spaces
|
19 |
|
20 |
device = "cuda" if torch.cuda.is_available() else "cpu"
|
21 |
dtype = torch.float16
|
|
|
10 |
from custom_pipeline import CosStableDiffusionXLInstructPix2PixPipeline
|
11 |
from huggingface_hub import hf_hub_download
|
12 |
from huggingface_hub import InferenceClient
|
|
|
|
|
|
|
|
|
13 |
from diffusers import StableDiffusion3Pipeline, SD3Transformer2DModel, FlowMatchEulerDiscreteScheduler
|
|
|
14 |
|
15 |
device = "cuda" if torch.cuda.is_available() else "cpu"
|
16 |
dtype = torch.float16
|