gpereira commited on
Commit
6e6c3f8
1 Parent(s): 8df0b25

Adicionando flaggingdir e novo ajuste no modelo

Browse files
Files changed (2) hide show
  1. app.py +1 -1
  2. 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:561300907278e47ec4d902352e828ce20d39a45063ad01f107f7e84fcc073196
3
  size 102892901
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e453c591d790a6c92e8844d66d8241e246b499e154050eaa98789f9c35b07dda
3
  size 102892901