VeyVey commited on
Commit
f2c93ad
1 Parent(s): 801e74e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -1,4 +1,4 @@
1
- import gradio as gr
2
  from transformers import pipeline
3
  pipe = pipeline ('translation', model='t5-base')
4
 
@@ -17,4 +17,4 @@ with gr.Blocks() as demo:
17
  examples = gr.Examples(examples=["I went to the supermarket yesterday.", "Helen is a good swimmer."],
18
  inputs=[english])
19
 
20
- demo.launch()
 
1
+
2
  from transformers import pipeline
3
  pipe = pipeline ('translation', model='t5-base')
4
 
 
17
  examples = gr.Examples(examples=["I went to the supermarket yesterday.", "Helen is a good swimmer."],
18
  inputs=[english])
19
 
20
+ demo.launch()