Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -13,7 +13,7 @@ def validate(item_id: str, threshold: float):
|
|
13 |
with gr.Blocks() as demo:
|
14 |
gr.Markdown("""
|
15 |
# Off topic image detector
|
16 |
-
This app takes an item ID and classifies its pictures as valid/invalid depending on whether they relate to the domain
|
17 |
""")
|
18 |
item_id = gr.Textbox(label="Item ID")
|
19 |
threshold = gr.Number(label="Threshold", value=0.5)
|
|
|
13 |
with gr.Blocks() as demo:
|
14 |
gr.Markdown("""
|
15 |
# Off topic image detector
|
16 |
+
This app takes an item ID and classifies its pictures as valid/invalid depending on whether they relate to the domain in which it's been listed.
|
17 |
""")
|
18 |
item_id = gr.Textbox(label="Item ID")
|
19 |
threshold = gr.Number(label="Threshold", value=0.5)
|