akhaliq HF staff commited on
Commit
565b039
1 Parent(s): 420f8f2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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="file"), outputs=gr.outputs.Image(type="file"),examples=examples,enable_queue=True,title=title,article=article,description=description)
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()