Spaces:
Running
on
Zero
Running
on
Zero
Update app.py (#13)
Browse files- Update app.py (1bb4c4b18f078731ae7fd45283d2ecc148b59a92)
Co-authored-by: Thomas <[email protected]>
app.py
CHANGED
@@ -1,3 +1,5 @@
|
|
|
|
|
|
1 |
import torch
|
2 |
import torchvision.transforms.functional as TF
|
3 |
import numpy as np
|
@@ -9,7 +11,6 @@ from diffusers.utils import load_image
|
|
9 |
from diffusers import EulerDiscreteScheduler, T2IAdapter
|
10 |
|
11 |
from huggingface_hub import hf_hub_download
|
12 |
-
import spaces
|
13 |
import gradio as gr
|
14 |
|
15 |
from pipeline_t2i_adapter import PhotoMakerStableDiffusionXLAdapterPipeline
|
|
|
1 |
+
import spaces
|
2 |
+
|
3 |
import torch
|
4 |
import torchvision.transforms.functional as TF
|
5 |
import numpy as np
|
|
|
11 |
from diffusers import EulerDiscreteScheduler, T2IAdapter
|
12 |
|
13 |
from huggingface_hub import hf_hub_download
|
|
|
14 |
import gradio as gr
|
15 |
|
16 |
from pipeline_t2i_adapter import PhotoMakerStableDiffusionXLAdapterPipeline
|