JoPmt commited on
Commit
859c236
·
verified ·
1 Parent(s): 378534f

Create app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -0
app.py ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ import gradio as gr
2
+
3
+ def plex(image):
4
+ image=image
5
+ return "hello", image
6
+
7
+ iface=gr.Interface(fn=plex,inputs="image",outputs=["text","image"])
8
+ iface.launch()