Spaces:
Build error
Build error
Update app.py
Browse files
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/
|
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()
|