ejschwartz commited on
Commit
c7e2f2b
·
verified ·
1 Parent(s): 0c63769

Create app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -0
app.py ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ from transformers import pipeline
2
+ import gradio as gr
3
+
4
+ pipe = pipeline("translation", model="ejschwartz/decaf-v1-22b")
5
+
6
+ demo = gr.Interface.from_pipeline(pipe)
7
+ demo.launch()