pakmandesign commited on
Commit
cc2d606
1 Parent(s): 541f702

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -1,6 +1,8 @@
 
 
1
  from transformers import pipeline
2
 
3
- # build the rranslation pipeline with the pre-trained model
4
  pipe = pipeline("translation", model="t5-base")
5
 
6
  def translate(text):
 
1
+
2
+ import gradio as gr
3
  from transformers import pipeline
4
 
5
+ # build the translation pipeline with the pre-trained model
6
  pipe = pipeline("translation", model="t5-base")
7
 
8
  def translate(text):