Spaces:
Running
on
Zero
Running
on
Zero
guangkaixu
commited on
Commit
•
4a21e26
1
Parent(s):
cb6031d
Update app.py
Browse files
app.py
CHANGED
@@ -21,6 +21,7 @@
|
|
21 |
# More information about the method can be found at https://github.com/aim-uofa/GenPercept
|
22 |
# --------------------------------------------------------------------------
|
23 |
|
|
|
24 |
import functools
|
25 |
import os
|
26 |
import tempfile
|
@@ -31,7 +32,6 @@ import spaces
|
|
31 |
import torch as torch
|
32 |
from PIL import Image
|
33 |
|
34 |
-
from __future__ import annotations
|
35 |
from gradio_imageslider import ImageSlider
|
36 |
from gradio_patches.examples import Examples
|
37 |
from pipeline_genpercept import GenPerceptPipeline
|
|
|
21 |
# More information about the method can be found at https://github.com/aim-uofa/GenPercept
|
22 |
# --------------------------------------------------------------------------
|
23 |
|
24 |
+
from __future__ import annotations
|
25 |
import functools
|
26 |
import os
|
27 |
import tempfile
|
|
|
32 |
import torch as torch
|
33 |
from PIL import Image
|
34 |
|
|
|
35 |
from gradio_imageslider import ImageSlider
|
36 |
from gradio_patches.examples import Examples
|
37 |
from pipeline_genpercept import GenPerceptPipeline
|