Update app.py
Browse files
app.py
CHANGED
|
@@ -197,6 +197,21 @@ def main():
|
|
| 197 |
]
|
| 198 |
)
|
| 199 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 200 |
submit.click(
|
| 201 |
predictor.predict_seen_tags,
|
| 202 |
inputs=[
|
|
|
|
| 197 |
]
|
| 198 |
)
|
| 199 |
|
| 200 |
+
|
| 201 |
+
examples = gr.Examples(
|
| 202 |
+
[
|
| 203 |
+
[
|
| 204 |
+
"8801249",
|
| 205 |
+
"short_over_long_sleeves"
|
| 206 |
+
],
|
| 207 |
+
],
|
| 208 |
+
inputs=[
|
| 209 |
+
post_id,
|
| 210 |
+
tag_description,
|
| 211 |
+
],
|
| 212 |
+
run_on_click=False,
|
| 213 |
+
cache_examples=False,
|
| 214 |
+
)
|
| 215 |
submit.click(
|
| 216 |
predictor.predict_seen_tags,
|
| 217 |
inputs=[
|