Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -6,7 +6,7 @@ translator = gr.Interface.load("huggingface/Helsinki-NLP/opus-mt-zh-en")
|
|
6 |
model1 = gr.Interface.load("huggingface/ckiplab/gpt2-base-chinese")
|
7 |
#model2 = gr.Interface.load("huggingface/EleutherAI/gpt-j-6B")
|
8 |
|
9 |
-
title = "Chinese Text Generator and Translator"
|
10 |
-
description = "Input Chinese language text, submit and the machine will generate additional
|
11 |
|
12 |
gr.Series(model1, translator, inputs=gr.Textbox(lines=5, label="Input Text"), title=title, description=description).launch(debug=True)
|
|
|
6 |
model1 = gr.Interface.load("huggingface/ckiplab/gpt2-base-chinese")
|
7 |
#model2 = gr.Interface.load("huggingface/EleutherAI/gpt-j-6B")
|
8 |
|
9 |
+
title = "Chinese Text Generator and Chinese to English Translator"
|
10 |
+
description = "Input Chinese language text, submit and the machine will generate additional Chinese language text and translate that text into English."
|
11 |
|
12 |
gr.Series(model1, translator, inputs=gr.Textbox(lines=5, label="Input Text"), title=title, description=description).launch(debug=True)
|