Fabrice-TIERCELIN commited on
Commit
ebd33ca
·
verified ·
1 Parent(s): b57bfba

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
@@ -34,5 +34,6 @@ gr.Interface(
34
  outputs=[gr.Textbox(label="idefics2-8b"), gr.Textbox(label="idefics2-8b-dpoed")],
35
  examples=[{"text": "What is the type of flower in the image and what insect is on it?", "files": ["./bee.jpg"]},
36
  {"text": "Describe the image", "files": ["./howl.jpg"]}],
 
37
  ).launch()
38
 
 
34
  outputs=[gr.Textbox(label="idefics2-8b"), gr.Textbox(label="idefics2-8b-dpoed")],
35
  examples=[{"text": "What is the type of flower in the image and what insect is on it?", "files": ["./bee.jpg"]},
36
  {"text": "Describe the image", "files": ["./howl.jpg"]}],
37
+ cache_examples=False,
38
  ).launch()
39