Spaces:
Running
Running
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
@@ -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()
|