Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -16,5 +16,5 @@ description = "Gradio demo for DeOldify. To use it, simply upload your image, or
|
|
16 |
article = "<p style='text-align: center'><a href='https://github.com/jantic/DeOldify' target='_blank'>Github Repo</a></p>"
|
17 |
|
18 |
examples=[['lunch.jpeg']]
|
19 |
-
iface = gr.Interface(inference, inputs=gr.inputs.Image(type="
|
20 |
iface.launch()
|
|
|
16 |
article = "<p style='text-align: center'><a href='https://github.com/jantic/DeOldify' target='_blank'>Github Repo</a></p>"
|
17 |
|
18 |
examples=[['lunch.jpeg']]
|
19 |
+
iface = gr.Interface(inference, inputs=gr.inputs.Image(type="filepath"), outputs=gr.outputs.Image(type="filepath"),examples=examples,enable_queue=True,title=title,article=article,description=description)
|
20 |
iface.launch()
|