Bmo411 commited on
Commit
148917d
·
verified ·
1 Parent(s): a80b3fd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -3
app.py CHANGED
@@ -1,7 +1,9 @@
1
  import gradio as gr
2
 
3
- def greet(name):
4
- return "Hello class from iteso your name is:" + name + "!"
 
 
5
 
6
- demo = gr.Interface(fn=greet, inputs="text", outputs="text")
7
  demo.launch()
 
1
  import gradio as gr
2
 
3
+ def image(image, image):
4
+ img=image
5
+ img2=image
6
+ return image,image
7
 
8
+ demo = gr.Interface(fn=greet, inputs="image", outputs=["image","image"])
9
  demo.launch()