Spaces:
Paused
Paused
Commit
·
96b0185
1
Parent(s):
fb6a1c2
Update app.py
Browse files
app.py
CHANGED
|
@@ -23,10 +23,13 @@ def interface(image, model: str):
|
|
| 23 |
gr.Interface(
|
| 24 |
interface,
|
| 25 |
[
|
| 26 |
-
gr.
|
| 27 |
-
gr.
|
| 28 |
-
"eccv16", "siggraph17"
|
| 29 |
-
|
|
|
|
|
|
|
|
|
|
| 30 |
],
|
| 31 |
[
|
| 32 |
gr.outputs.Image(label="Output")
|
|
|
|
| 23 |
gr.Interface(
|
| 24 |
interface,
|
| 25 |
[
|
| 26 |
+
gr.components.Image(type="pil", label="image"),
|
| 27 |
+
gr.components.Radio(
|
| 28 |
+
["eccv16", "siggraph17"],
|
| 29 |
+
type="value",
|
| 30 |
+
default_selected="eccv16",
|
| 31 |
+
label="model"
|
| 32 |
+
)
|
| 33 |
],
|
| 34 |
[
|
| 35 |
gr.outputs.Image(label="Output")
|