Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -28,11 +28,9 @@ article = "<p style='text-align: center'><a href='https://' target='_blank'>Comp
|
|
| 28 |
examples = [['Haze.png']]
|
| 29 |
gr.Interface(
|
| 30 |
inference,
|
| 31 |
-
[gr.
|
| 32 |
-
gr.
|
| 33 |
title=title,
|
| 34 |
description=description,
|
| 35 |
-
article=article,
|
| 36 |
-
allow_flagging=False,
|
| 37 |
examples=examples
|
| 38 |
).launch(debug=True)
|
|
|
|
| 28 |
examples = [['Haze.png']]
|
| 29 |
gr.Interface(
|
| 30 |
inference,
|
| 31 |
+
[gr.components.Image(type="pil", label="Input")],
|
| 32 |
+
gr.components.Image(type="filepath", label="Output"),
|
| 33 |
title=title,
|
| 34 |
description=description,
|
|
|
|
|
|
|
| 35 |
examples=examples
|
| 36 |
).launch(debug=True)
|