Update app.py
Browse files
app.py
CHANGED
|
@@ -1,4 +1,4 @@
|
|
| 1 |
-
|
| 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 |
-
|
|
|
|
| 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()
|