Fabrice-TIERCELIN commited on
Commit
4cda697
·
verified ·
1 Parent(s): b1dd509

This Pull Request fixes the space

Browse files

The examples break the space if they are cached at the startup because it's too long. If they are cached after the startup, there are no more problems.

Click on _Merge_ to add this feature.

Files changed (1) hide show
  1. demo_sum.py +1 -0
demo_sum.py CHANGED
@@ -315,6 +315,7 @@ sum_iface = gr.Interface(
315
  ),
316
 
317
  examples=sum_examples,
 
318
  title="生成式摘要(Abstractive Summarization)",
319
  description='生成式摘要,用于电商领域的商品营销文案写作。输入商品信息,输出商品的营销文案。',
320
  article=article
 
315
  ),
316
 
317
  examples=sum_examples,
318
+ cache_examples=False,
319
  title="生成式摘要(Abstractive Summarization)",
320
  description='生成式摘要,用于电商领域的商品营销文案写作。输入商品信息,输出商品的营销文案。',
321
  article=article