Update app.py
Browse files
app.py
CHANGED
@@ -122,6 +122,6 @@ examples=[
|
|
122 |
|
123 |
iface = gr.Interface(predict, [gr.inputs.Image(type='filepath'),
|
124 |
gr.inputs.Radio(['Complex Lines','Simple Lines'], type="value", default='Simple Lines', label='version')],
|
125 |
-
[gr.outputs.Image(type="pil"), gr.outputs.
|
126 |
|
127 |
iface.launch()
|
|
|
122 |
|
123 |
iface = gr.Interface(predict, [gr.inputs.Image(type='filepath'),
|
124 |
gr.inputs.Radio(['Complex Lines','Simple Lines'], type="value", default='Simple Lines', label='version')],
|
125 |
+
[gr.outputs.Image(type="pil"), gr.outputs.File(type="download", label="Download Image")], title=title,examples=examples)
|
126 |
|
127 |
iface.launch()
|