tejasmakode commited on
Commit
8a3c760
·
verified ·
1 Parent(s): 9075d72

Create app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -0
app.py ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ from transformers import pipeline
2
+ import gradio as gr
3
+
4
+ pipe = pipeline("text-generation", model="tejasmakode/florence_OD", trust_remote_code=True)
5
+ demo = gr.Interface.from_pipeline(pipe)
6
+ demo.launch()