Fabrice-TIERCELIN commited on
Commit
57f3148
·
verified ·
1 Parent(s): 6a7d152

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 +1 -0
app.py CHANGED
@@ -124,6 +124,7 @@ chat_interface = gr.ChatInterface(
124
  ["How many hours does it take a man to eat a Helicopter?"],
125
  ["Write a 100-word article on 'Benefits of Open-Source in AI research'"],
126
  ],
 
127
  )
128
 
129
  with gr.Blocks() as demo:
 
124
  ["How many hours does it take a man to eat a Helicopter?"],
125
  ["Write a 100-word article on 'Benefits of Open-Source in AI research'"],
126
  ],
127
+ cache_examples=False,
128
  )
129
 
130
  with gr.Blocks() as demo: