Cache examples
Browse files
app.py
CHANGED
@@ -112,7 +112,7 @@ with demo:
|
|
112 |
inputs = [input_image, threshold],
|
113 |
outputs = [output_image, dimensions, detections, stopwatch],
|
114 |
fn=predict_image,
|
115 |
-
cache_examples=
|
116 |
label='Try these images!'
|
117 |
)
|
118 |
|
@@ -125,7 +125,7 @@ with demo:
|
|
125 |
roundabout, soccer ball field and swimming pool. </p><p>The associated licenses are
|
126 |
<a href='https://about.google/brand-resource-center/products-and-services/geo-guidelines/#google-earth-web-and-apps'>GoogleEarth fair use</a>
|
127 |
and <a href='https://creativecommons.org/licenses/by-nc-sa/4.0/deed.en'>CC-BY-SA-NC</a>. This demonstration CANNOT be used for commercial puposes.
|
128 |
-
Please contact <a href='mailto:[email protected]'>me</a> for more information on how you could get access to a commercial grade model or API. </p>
|
129 |
""")
|
130 |
|
131 |
demo.launch(
|
|
|
112 |
inputs = [input_image, threshold],
|
113 |
outputs = [output_image, dimensions, detections, stopwatch],
|
114 |
fn=predict_image,
|
115 |
+
cache_examples=True,
|
116 |
label='Try these images!'
|
117 |
)
|
118 |
|
|
|
125 |
roundabout, soccer ball field and swimming pool. </p><p>The associated licenses are
|
126 |
<a href='https://about.google/brand-resource-center/products-and-services/geo-guidelines/#google-earth-web-and-apps'>GoogleEarth fair use</a>
|
127 |
and <a href='https://creativecommons.org/licenses/by-nc-sa/4.0/deed.en'>CC-BY-SA-NC</a>. This demonstration CANNOT be used for commercial puposes.
|
128 |
+
Please contact <a href='mailto:[email protected]'>me</a> for more information on how you could get access to a commercial grade model or API. </p>
|
129 |
""")
|
130 |
|
131 |
demo.launch(
|