Spaces:
Running
Running
Commit
·
1db44a7
1
Parent(s):
2895c00
components instead of inputs/outputs
Browse files
app.py
CHANGED
@@ -105,8 +105,8 @@ if __name__ == "__main__":
|
|
105 |
|
106 |
gr.Interface(
|
107 |
inference,
|
108 |
-
gr.
|
109 |
-
gr.
|
110 |
examples=[
|
111 |
"./data/examples/a.jpeg",
|
112 |
"./data/examples/b.jpeg",
|
|
|
105 |
|
106 |
gr.Interface(
|
107 |
inference,
|
108 |
+
gr.components.Image(type="filepath", label="Input Image"),
|
109 |
+
gr.components.Image(type="numpy", label="Predicted Output"),
|
110 |
examples=[
|
111 |
"./data/examples/a.jpeg",
|
112 |
"./data/examples/b.jpeg",
|