Fabrice-TIERCELIN commited on
Commit
4087380
·
verified ·
1 Parent(s): 2175451

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
@@ -23,6 +23,7 @@ gradio_ui = gr.Interface(
23
  [" Bought this Clio for my daughter 2 years ago. It was very well cared for with 95,000 miles. New brakes, tires, and all scheduled maintenance was done. We have had no problems (ex a torn axle boot) in 2 years and 22,000 miles. This is our favorite car (we have 4) as it has a great balance of economy, handling, comfort, and build quality."],
24
  ["I bought a brand new Scenic for my daily driver last year, and this is my biggest mistake! I should of do more researches before buying it. This car is the MOST POS ever. My suspension was bad after a couple thousand miles, the car made huge noise when the car is rolling."],
25
  ],
 
26
  allow_flagging="never",
27
  analytics_enabled=False
28
 
 
23
  [" Bought this Clio for my daughter 2 years ago. It was very well cared for with 95,000 miles. New brakes, tires, and all scheduled maintenance was done. We have had no problems (ex a torn axle boot) in 2 years and 22,000 miles. This is our favorite car (we have 4) as it has a great balance of economy, handling, comfort, and build quality."],
24
  ["I bought a brand new Scenic for my daily driver last year, and this is my biggest mistake! I should of do more researches before buying it. This car is the MOST POS ever. My suspension was bad after a couple thousand miles, the car made huge noise when the car is rolling."],
25
  ],
26
+ cache_examples=False,
27
  allow_flagging="never",
28
  analytics_enabled=False
29