Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -22,6 +22,6 @@ demo = gr.Interface(fn=split_and_generate,
|
|
22 |
inputs=[gr.Textbox(label="现代文", lines=10)],
|
23 |
outputs=[gr.Textbox(label="古文", lines=10)],
|
24 |
title="现代文转古文大模型",
|
25 |
-
description="请在左边对话框输入你要转换的现代文并点击“Submit
|
26 |
)
|
27 |
demo.launch()
|
|
|
22 |
inputs=[gr.Textbox(label="现代文", lines=10)],
|
23 |
outputs=[gr.Textbox(label="古文", lines=10)],
|
24 |
title="现代文转古文大模型",
|
25 |
+
description="请在左边对话框输入你要转换的现代文并点击“Submit”按钮,耐心等待十几秒钟,右边的对话框将显示转换后的古文。<br>一个句子不要太长,如果文本很长,可多分几个句子,模型会逐句转化。<br>详情请访问本项目[GitHub主页](https://github.com/JianXiao2021/ancient_text_generation_LLM)。"
|
26 |
)
|
27 |
demo.launch()
|