Spaces:
Running
on
Zero
Running
on
Zero
update app
Browse files
app.py
CHANGED
|
@@ -174,13 +174,13 @@ with gr.Blocks(css=css, theme=steel_blue_theme) as demo:
|
|
| 174 |
gr.Examples(
|
| 175 |
examples=[
|
| 176 |
["examples/player.jpg", "player in white", 0.5],
|
| 177 |
-
["examples/goldencat.webp", "
|
| 178 |
["examples/taxi.jpg", "blue taxi", 0.5],
|
| 179 |
],
|
| 180 |
inputs=[input_image, text_prompt, threshold],
|
| 181 |
outputs=[output_image],
|
| 182 |
fn=segment_image,
|
| 183 |
-
cache_examples=
|
| 184 |
label="Examples"
|
| 185 |
)
|
| 186 |
|
|
|
|
| 174 |
gr.Examples(
|
| 175 |
examples=[
|
| 176 |
["examples/player.jpg", "player in white", 0.5],
|
| 177 |
+
["examples/goldencat.webp", "ginger cat", 0.4],
|
| 178 |
["examples/taxi.jpg", "blue taxi", 0.5],
|
| 179 |
],
|
| 180 |
inputs=[input_image, text_prompt, threshold],
|
| 181 |
outputs=[output_image],
|
| 182 |
fn=segment_image,
|
| 183 |
+
cache_examples="lazy",
|
| 184 |
label="Examples"
|
| 185 |
)
|
| 186 |
|