Adicionando flaggingdir e novo ajuste no modelo
Browse files- app.py +1 -1
- scenecat.pkl +1 -1
app.py
CHANGED
@@ -21,6 +21,6 @@ def classify_img(img):
|
|
21 |
# %% SceneCat.ipynb 31
|
22 |
examples = ['test_anime.jpg', 'test_cartoon.jpg', 'test_live_action.webp']
|
23 |
|
24 |
-
intf = gr.Interface(fn=classify_img, inputs=gr.Image(), outputs=gr.Label(), examples=examples)
|
25 |
intf.launch(inline=False)
|
26 |
|
|
|
21 |
# %% SceneCat.ipynb 31
|
22 |
examples = ['test_anime.jpg', 'test_cartoon.jpg', 'test_live_action.webp']
|
23 |
|
24 |
+
intf = gr.Interface(fn=classify_img, inputs=gr.Image(), outputs=gr.Label(), examples=examples, flagging_dir='flagged')
|
25 |
intf.launch(inline=False)
|
26 |
|
scenecat.pkl
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 102892901
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e453c591d790a6c92e8844d66d8241e246b499e154050eaa98789f9c35b07dda
|
3 |
size 102892901
|