Fabrice-TIERCELIN commited on
Commit
90e4e28
·
verified ·
1 Parent(s): c1eb780

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. app.py +2 -1
app.py CHANGED
@@ -15,7 +15,8 @@ demo = gr.Interface(
15
  fn=generate,
16
  inputs = gr.inputs.Textbox(lines=3, label="Input Text"),
17
  outputs=gr.outputs.Textbox(label="Generated Text"),
18
- examples=examples
 
19
  )
20
 
21
  demo.launch()
 
15
  fn=generate,
16
  inputs = gr.inputs.Textbox(lines=3, label="Input Text"),
17
  outputs=gr.outputs.Textbox(label="Generated Text"),
18
+ examples=examples,
19
+ cache_examples=False
20
  )
21
 
22
  demo.launch()