Spaces:
Runtime error
Runtime error
Fabrice-TIERCELIN
commited on
This Pull Request fixes the space
Browse filesThe 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.
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:
|