Spaces:
Build error
Build error
hellopahe
commited on
Commit
•
7b20eab
1
Parent(s):
e24946b
fix
Browse files- app.py +3 -2
- tmp/placeholder +0 -0
app.py
CHANGED
@@ -144,10 +144,11 @@ def similarity_search(queries, doc):
|
|
144 |
|
145 |
with gr.Blocks() as app:
|
146 |
gr.Markdown("从下面的标签选择测试模块 [摘要生成,相似度检测]")
|
147 |
-
with gr.Tab("LexRank
|
148 |
text_input_1 = gr.Textbox(label="请输入长文本:", lines=10, max_lines=1000)
|
149 |
-
text_output_1 = gr.Textbox(label="摘要文本", lines=10)
|
150 |
text_button_1 = gr.Button("生成摘要")
|
|
|
|
|
151 |
# with gr.Tab("LexRank->Tuoling-6B-chatGLM"):
|
152 |
# text_input = gr.Textbox(label="请输入长文本:", max_lines=1000)
|
153 |
# text_output = gr.Textbox(label="摘要文本")
|
|
|
144 |
|
145 |
with gr.Blocks() as app:
|
146 |
gr.Markdown("从下面的标签选择测试模块 [摘要生成,相似度检测]")
|
147 |
+
with gr.Tab("LexRank"):
|
148 |
text_input_1 = gr.Textbox(label="请输入长文本:", lines=10, max_lines=1000)
|
|
|
149 |
text_button_1 = gr.Button("生成摘要")
|
150 |
+
text_output_1 = gr.Textbox(label="摘要文本(长度设置为原文长度的1/10)", lines=10)
|
151 |
+
|
152 |
# with gr.Tab("LexRank->Tuoling-6B-chatGLM"):
|
153 |
# text_input = gr.Textbox(label="请输入长文本:", max_lines=1000)
|
154 |
# text_output = gr.Textbox(label="摘要文本")
|
tmp/placeholder
ADDED
File without changes
|