Update app.py
Browse files
app.py
CHANGED
@@ -1,3 +1,4 @@
|
|
|
|
1 |
import gradio as gr
|
2 |
from PIL import Image
|
3 |
from src.tryon_pipeline import StableDiffusionXLInpaintPipeline as TryonPipeline
|
@@ -15,7 +16,6 @@ from typing import List
|
|
15 |
import torch
|
16 |
import os
|
17 |
from transformers import AutoTokenizer
|
18 |
-
import spaces
|
19 |
import numpy as np
|
20 |
from utils_mask import get_mask_location
|
21 |
from torchvision import transforms
|
|
|
1 |
+
import spaces
|
2 |
import gradio as gr
|
3 |
from PIL import Image
|
4 |
from src.tryon_pipeline import StableDiffusionXLInpaintPipeline as TryonPipeline
|
|
|
16 |
import torch
|
17 |
import os
|
18 |
from transformers import AutoTokenizer
|
|
|
19 |
import numpy as np
|
20 |
from utils_mask import get_mask_location
|
21 |
from torchvision import transforms
|