v-doc_abstractive_mac / interface.py
ydin0771's picture
Upload interface.py
dfb84d2
raw
history blame
168 Bytes
import gradio as gr
from demo import predict
gr.Interface(fn=predict, inputs=["image", "text"], outputs=["text"]).launch()
if __name__ == '__main__':
io.lanuch()