img2art-search / app.py
brunorosilva
feat: add gradio meta and app.py
4bbf116
raw
history blame
250 Bytes
from img2art_search.models.predict import predict
import gradio as gr
interface = gr.Interface(
fn=predict,
inputs=gr.Image(type="pil"),
outputs=gr.Gallery(label="Most similar images", height=256 * 3),
live=True,
)
interface.launch()