ydin0771 commited on
Commit
dfb84d2
β€’
1 Parent(s): be859e7

Upload interface.py

Browse files
Files changed (1) hide show
  1. interface.py +7 -0
interface.py ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ import gradio as gr
2
+ from demo import predict
3
+
4
+ gr.Interface(fn=predict, inputs=["image", "text"], outputs=["text"]).launch()
5
+
6
+ if __name__ == '__main__':
7
+ io.lanuch()