File size: 201 Bytes
8a3c760
 
 
 
 
 
1
2
3
4
5
6
7
from transformers import pipeline
import gradio as gr

pipe = pipeline("text-generation", model="tejasmakode/florence_OD", trust_remote_code=True)
demo = gr.Interface.from_pipeline(pipe)
demo.launch()