abidlabs HF Staff commited on
Commit
8690f9a
·
1 Parent(s): 1061e29

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -1,6 +1,8 @@
1
  import gradio as gr
 
2
 
3
  def identity(image):
 
4
  return image
5
 
6
  iface = gr.Interface(fn=identity, inputs="image", outputs="image")
 
1
  import gradio as gr
2
+ import time
3
 
4
  def identity(image):
5
+ time.sleep(10)
6
  return image
7
 
8
  iface = gr.Interface(fn=identity, inputs="image", outputs="image")