Update app.py
Browse files
app.py
CHANGED
@@ -43,9 +43,21 @@ target = [gr.Radio(["human", "alien"]),
|
|
43 |
gr.Slider(0, 4, label='Bottom', step=1, default=0)],
|
44 |
|
45 |
|
46 |
-
gr.Interface(
|
47 |
predict,
|
48 |
-
inputs=
|
49 |
outputs="image",
|
50 |
live=True,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
51 |
).launch()
|
|
|
43 |
gr.Slider(0, 4, label='Bottom', step=1, default=0)],
|
44 |
|
45 |
|
46 |
+
source_iface = gr.Interface(
|
47 |
predict,
|
48 |
+
inputs=source,
|
49 |
outputs="image",
|
50 |
live=True,
|
51 |
+
)
|
52 |
+
|
53 |
+
target_iface = gr.Interface(
|
54 |
+
predict,
|
55 |
+
inputs=target,
|
56 |
+
outputs="image",
|
57 |
+
live=True,
|
58 |
+
)
|
59 |
+
|
60 |
+
gr.Parallel(source_iface,
|
61 |
+
target_iface,
|
62 |
+
title="TransferVAE"
|
63 |
).launch()
|