SnapScript / app.py
Saptarshi003's picture
Upload 22 files
8fe2e46 verified
raw
history blame contribute delete
250 Bytes
import gradio as gr
from src.pipeline.predict import generate_caption
demo = gr.Interface(fn=generate_caption,
inputs=gr.Image(),
outputs=[gr.Textbox(label="Generated Caption", lines=3)],
)
demo.launch()