Wootang01 commited on
Commit
bb1abbf
·
1 Parent(s): bf8bdf6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -7,6 +7,6 @@ description = "Input Chinese language text, submit and the machine will generate
7
 
8
  translator = gr.Interface.load("huggingface/Helsinki-NLP/opus-mt-zh-en")
9
  #model1 = gr.Interface.load("huggingface/ckiplab/gpt2-base-chinese")
10
- model2 = gr.Interface.load("huggingface/EleutherAI/gpt-j-6B")
11
 
12
  gr.Series(translator, model2, inputs=gr.Textbox(lines=5, label="Input Text"), title=title, description=description).launch()
 
7
 
8
  translator = gr.Interface.load("huggingface/Helsinki-NLP/opus-mt-zh-en")
9
  #model1 = gr.Interface.load("huggingface/ckiplab/gpt2-base-chinese")
10
+ model2 = gr.Interface.load("huggingface/google/flan-t5-xl")
11
 
12
  gr.Series(translator, model2, inputs=gr.Textbox(lines=5, label="Input Text"), title=title, description=description).launch()