Spaces:
Runtime error
Runtime error
Vivien
commited on
Commit
•
f976276
1
Parent(s):
6392199
Change description text
Browse files
app.py
CHANGED
@@ -210,7 +210,7 @@ This demo illustrates how to both retrieve images containing certain objects and
|
|
210 |
|
211 |
**Enter your query and hit enter**
|
212 |
|
213 |
-
**Tip 1**: if your query includes "/", the
|
214 |
|
215 |
**Tip 2**: change the score threshold to adjust the sensitivity of the object detection step.
|
216 |
|
@@ -262,7 +262,7 @@ def main():
|
|
262 |
query = c.text_input("", value="koala")
|
263 |
corpus = c.radio("", ["Unsplash", "Movies"])
|
264 |
score_threshold = c.slider(
|
265 |
-
"Score threshold", min_value=0.01, max_value=0.
|
266 |
)
|
267 |
|
268 |
if len(query) > 0:
|
|
|
210 |
|
211 |
**Enter your query and hit enter**
|
212 |
|
213 |
+
**Tip 1**: if your query includes "/", the left and right parts will be used to respectively retrieve images and locate objects. For example, if you want to retrieve pictures with several cats but locate individual cats, you can type "cats / cat".
|
214 |
|
215 |
**Tip 2**: change the score threshold to adjust the sensitivity of the object detection step.
|
216 |
|
|
|
262 |
query = c.text_input("", value="koala")
|
263 |
corpus = c.radio("", ["Unsplash", "Movies"])
|
264 |
score_threshold = c.slider(
|
265 |
+
"Score threshold", min_value=0.01, max_value=0.2, value=0.03, step=0.01
|
266 |
)
|
267 |
|
268 |
if len(query) > 0:
|