File size: 168 Bytes
dfb84d2
 
 
 
 
 
 
1
2
3
4
5
6
7
8
import gradio as gr
from demo import predict

gr.Interface(fn=predict, inputs=["image", "text"], outputs=["text"]).launch()

if __name__ == '__main__':
    io.lanuch()