Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -1,6 +1,4 @@
|
|
1 |
import gradio as gr
|
2 |
-
from vae import vae
|
3 |
-
from morphing import morphing
|
4 |
from model import ConvVAE
|
5 |
|
6 |
model = ConvVAE.from_pretrained(
|
@@ -10,6 +8,8 @@ model = ConvVAE.from_pretrained(
|
|
10 |
strict=True
|
11 |
).eval()
|
12 |
|
|
|
|
|
13 |
|
14 |
demo = gr.TabbedInterface([vae, morphing],
|
15 |
["Image to Portrait", "Image to Image (Morphing)"],
|
|
|
1 |
import gradio as gr
|
|
|
|
|
2 |
from model import ConvVAE
|
3 |
|
4 |
model = ConvVAE.from_pretrained(
|
|
|
8 |
strict=True
|
9 |
).eval()
|
10 |
|
11 |
+
from vae import vae
|
12 |
+
from morphing import morphing
|
13 |
|
14 |
demo = gr.TabbedInterface([vae, morphing],
|
15 |
["Image to Portrait", "Image to Image (Morphing)"],
|