Kevin676 commited on
Commit
3cb7d71
·
1 Parent(s): f4631dc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -6
app.py CHANGED
@@ -1,7 +1,6 @@
1
  import gradio as gr
2
  from transformers import AutoTokenizer, AutoModelForSeq2SeqLM, pipeline
3
  import torch
4
- from ui import title, description, examples
5
  from langs import LANGS
6
 
7
  TASK = "translation"
@@ -38,9 +37,4 @@ gr.Interface(
38
  gr.components.Slider(8, 512, value=400, step=8, label="Max Length")
39
  ],
40
  ["text"],
41
- examples=examples,
42
- # article=article,
43
- cache_examples=False,
44
- title=title,
45
- description=description
46
  ).launch()
 
1
  import gradio as gr
2
  from transformers import AutoTokenizer, AutoModelForSeq2SeqLM, pipeline
3
  import torch
 
4
  from langs import LANGS
5
 
6
  TASK = "translation"
 
37
  gr.components.Slider(8, 512, value=400, step=8, label="Max Length")
38
  ],
39
  ["text"],
 
 
 
 
 
40
  ).launch()