ibm_1 / app.py
marcellohalfeld's picture
Update app.py
43ed89e verified
raw
history blame contribute delete
180 Bytes
from transformers import pipeline
import gradio as gr
pipe = pipeline("image-to-text", model="facebook/nougat-base", max_new_tokens=100)
gr.Interface.from_pipeline(pipe).launch()