jiajl1
commited on
Commit
•
ecf5d59
1
Parent(s):
d0747e6
modify import seq
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,7 @@ from typing import List
|
|
15 |
import torch
|
16 |
import os
|
17 |
from transformers import AutoTokenizer
|
18 |
-
|
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 |
+
|
20 |
import numpy as np
|
21 |
from utils_mask import get_mask_location
|
22 |
from torchvision import transforms
|