Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -113,24 +113,14 @@ title="Image to Coloring Page Generator"
|
|
113 |
# ['01.jpeg', 'Complex Lines'],
|
114 |
#]
|
115 |
|
116 |
-
|
117 |
-
|
118 |
-
|
119 |
-
|
120 |
-
|
121 |
-
|
122 |
-
|
123 |
-
|
124 |
-
|
125 |
-
|
126 |
-
iface = gr.Interface(predict,
|
127 |
-
image,
|
128 |
-
#gr.outputs.Image(type="pil"))
|
129 |
-
image)
|
130 |
-
|
131 |
-
|
132 |
-
# iface = gr.Interface(predict, [gr.inputs.Image(type='filepath')],
|
133 |
-
# #gr.inputs.Radio(['Complex Lines'], type="value", default='Complex Lines', label='version')],
|
134 |
-
# gr.outputs.Image(type="pil"))
|
135 |
|
136 |
iface.launch()
|
|
|
113 |
# ['01.jpeg', 'Complex Lines'],
|
114 |
#]
|
115 |
|
116 |
+
# iface = gr.Interface(predict,
|
117 |
+
# image,
|
118 |
+
# #gr.outputs.Image(type="pil"))
|
119 |
+
# image)
|
120 |
+
|
121 |
+
|
122 |
+
iface = gr.Interface(predict, [gr.inputs.Image(type='filepath')],
|
123 |
+
#gr.inputs.Radio(['Complex Lines'], type="value", default='Complex Lines', label='version')],
|
124 |
+
gr.outputs.Image(type="pil"))
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
125 |
|
126 |
iface.launch()
|