Spaces:
Runtime error
Runtime error
Adonai Vera
commited on
Commit
·
ddb1fbb
1
Parent(s):
1666582
Added feedback from the user
Browse files- .gitignore +32 -0
- app.py +1 -1
- flagged/log.csv +1 -0
.gitignore
ADDED
@@ -0,0 +1,32 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
|
2 |
+
**/*.DS_store
|
3 |
+
.vscode
|
4 |
+
node_modules
|
5 |
+
|
6 |
+
__pycache__
|
7 |
+
*.py[cod]
|
8 |
+
|
9 |
+
*.egg-info
|
10 |
+
.project
|
11 |
+
.pydevproject
|
12 |
+
**/*.ipynb_checkpoints
|
13 |
+
.idea
|
14 |
+
*.swp
|
15 |
+
|
16 |
+
*~
|
17 |
+
|
18 |
+
build/
|
19 |
+
dist/
|
20 |
+
|
21 |
+
/eta/
|
22 |
+
|
23 |
+
/docs/build/
|
24 |
+
/docs/source/api/
|
25 |
+
|
26 |
+
/bin
|
27 |
+
/lib
|
28 |
+
coverage.xml
|
29 |
+
.coverage.*
|
30 |
+
pyvenv.cfg
|
31 |
+
|
32 |
+
flagged/
|
app.py
CHANGED
@@ -32,7 +32,7 @@ iface = gr.Interface(
|
|
32 |
description="Upload an image to classify if need clean or not.",
|
33 |
title="Cleaner Classification with AI by Subterra",
|
34 |
allow_flagging="manual",
|
35 |
-
flagging_options=["
|
36 |
)
|
37 |
|
38 |
# Launch the interface
|
|
|
32 |
description="Upload an image to classify if need clean or not.",
|
33 |
title="Cleaner Classification with AI by Subterra",
|
34 |
allow_flagging="manual",
|
35 |
+
flagging_options=["obstruction", "no_obstruction"]
|
36 |
)
|
37 |
|
38 |
# Launch the interface
|
flagged/log.csv
CHANGED
@@ -5,3 +5,4 @@ image,output 0,output 1,flag,username,timestamp
|
|
5 |
| GI | Galvanized Iron |
|
6 |
| PP | Polypropylene |
|
7 |
| RC | Reinforced Concrete |",,,2023-11-27 15:26:38.548865
|
|
|
|
5 |
| GI | Galvanized Iron |
|
6 |
| PP | Polypropylene |
|
7 |
| RC | Reinforced Concrete |",,,2023-11-27 15:26:38.548865
|
8 |
+
"{""path"":""flagged/image/f38c599fa2de8d03404c/RC.jpg"",""url"":""http://127.0.0.1:7860/file=/private/var/folders/5q/yl8pmxm116g6r3k8fd9gk74m0000gn/T/gradio/6ab5f5d1df06303f856175903bbfc4639d4780b3/RC.jpg"",""size"":null,""orig_name"":""RC.jpg"",""mime_type"":null}","{""label"":""obstruction"",""confidences"":[{""label"":""obstruction"",""confidence"":0.988347589969635},{""label"":""no_obstruction"",""confidence"":0.01165243424475193}]}",obstruction,,2024-01-09 12:23:43.084607
|