Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -92,11 +92,6 @@ demo.launch(share=True)
|
|
92 |
|
93 |
|
94 |
|
95 |
-
'''while 1:
|
96 |
-
a=input('请输入需要提取的新闻段落')
|
97 |
-
summary = sample_generate(text=a,model_path='/hy-tmp/4-5.Bert-seq2seq/saved_models',top_k=5,top_p=0.95)
|
98 |
-
print(summary)
|
99 |
-
|
100 |
|
101 |
|
102 |
|
|
|
92 |
|
93 |
|
94 |
|
|
|
|
|
|
|
|
|
|
|
95 |
|
96 |
|
97 |
|