Spaces:
Sleeping
Sleeping
stagoverflow
commited on
Commit
·
29ff052
1
Parent(s):
b84ac46
Adding sample images
Browse files- .gitattributes +3 -0
- .idea/.gitignore +3 -0
- .idea/inspectionProfiles/profiles_settings.xml +6 -0
- .idea/misc.xml +4 -0
- .idea/modules.xml +8 -0
- .idea/vcs.xml +6 -0
- .idea/whatIsThisCar.iml +8 -0
- F1.jpg +3 -0
- app.py +1 -1
- indy.jpg +3 -0
- rally.jpg +3 -0
.gitattributes
CHANGED
@@ -33,3 +33,6 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
36 |
+
F1.jpg filter=lfs diff=lfs merge=lfs -text
|
37 |
+
indy.jpg filter=lfs diff=lfs merge=lfs -text
|
38 |
+
rally.jpg filter=lfs diff=lfs merge=lfs -text
|
.idea/.gitignore
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
# Default ignored files
|
2 |
+
/shelf/
|
3 |
+
/workspace.xml
|
.idea/inspectionProfiles/profiles_settings.xml
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<component name="InspectionProjectProfileManager">
|
2 |
+
<settings>
|
3 |
+
<option name="USE_PROJECT_PROFILE" value="false" />
|
4 |
+
<version value="1.0" />
|
5 |
+
</settings>
|
6 |
+
</component>
|
.idea/misc.xml
ADDED
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0" encoding="UTF-8"?>
|
2 |
+
<project version="4">
|
3 |
+
<component name="ProjectRootManager" version="2" project-jdk-name="Python 3.10" project-jdk-type="Python SDK" />
|
4 |
+
</project>
|
.idea/modules.xml
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0" encoding="UTF-8"?>
|
2 |
+
<project version="4">
|
3 |
+
<component name="ProjectModuleManager">
|
4 |
+
<modules>
|
5 |
+
<module fileurl="file://$PROJECT_DIR$/.idea/whatIsThisCar.iml" filepath="$PROJECT_DIR$/.idea/whatIsThisCar.iml" />
|
6 |
+
</modules>
|
7 |
+
</component>
|
8 |
+
</project>
|
.idea/vcs.xml
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0" encoding="UTF-8"?>
|
2 |
+
<project version="4">
|
3 |
+
<component name="VcsDirectoryMappings">
|
4 |
+
<mapping directory="$PROJECT_DIR$" vcs="Git" />
|
5 |
+
</component>
|
6 |
+
</project>
|
.idea/whatIsThisCar.iml
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0" encoding="UTF-8"?>
|
2 |
+
<module type="PYTHON_MODULE" version="4">
|
3 |
+
<component name="NewModuleRootManager">
|
4 |
+
<content url="file://$MODULE_DIR$" />
|
5 |
+
<orderEntry type="inheritedJdk" />
|
6 |
+
<orderEntry type="sourceFolder" forTests="false" />
|
7 |
+
</component>
|
8 |
+
</module>
|
F1.jpg
ADDED
![]() |
Git LFS Details
|
app.py
CHANGED
@@ -12,7 +12,7 @@ def classify_image(img):
|
|
12 |
|
13 |
image = gr.inputs.Image(shape=(192, 192))
|
14 |
label = gr.outputs.Label()
|
15 |
-
examples = ['F1.
|
16 |
|
17 |
intf = gr.Interface(fn=classify_image, inputs=image, outputs=label, examples=examples)
|
18 |
intf.launch(i:q!
|
|
|
12 |
|
13 |
image = gr.inputs.Image(shape=(192, 192))
|
14 |
label = gr.outputs.Label()
|
15 |
+
examples = ['F1.jpg', 'indy.jpg', 'rally.jpg']
|
16 |
|
17 |
intf = gr.Interface(fn=classify_image, inputs=image, outputs=label, examples=examples)
|
18 |
intf.launch(i:q!
|
indy.jpg
ADDED
![]() |
Git LFS Details
|
rally.jpg
ADDED
![]() |
Git LFS Details
|