Spaces:
Running
on
Zero
Running
on
Zero
guangkaixu
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -21,20 +21,18 @@
|
|
21 |
# More information about the method can be found at https://github.com/aim-uofa/GenPercept
|
22 |
# --------------------------------------------------------------------------
|
23 |
|
24 |
-
from __future__ import annotations
|
25 |
-
|
26 |
import functools
|
27 |
import os
|
28 |
import tempfile
|
29 |
import warnings
|
30 |
-
|
31 |
import gradio as gr
|
32 |
import numpy as np
|
33 |
import spaces
|
34 |
import torch as torch
|
35 |
from PIL import Image
|
36 |
-
from gradio_imageslider import ImageSlider
|
37 |
|
|
|
|
|
38 |
from gradio_patches.examples import Examples
|
39 |
from pipeline_genpercept import GenPerceptPipeline
|
40 |
|
|
|
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
|
27 |
import warnings
|
|
|
28 |
import gradio as gr
|
29 |
import numpy as np
|
30 |
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
|
38 |
|