Kaludi commited on
Commit
832eda4
β€’
1 Parent(s): 20e03a8

Upload 14 files

Browse files
.gitattributes CHANGED
@@ -2,27 +2,20 @@
2
  *.arrow filter=lfs diff=lfs merge=lfs -text
3
  *.bin filter=lfs diff=lfs merge=lfs -text
4
  *.bz2 filter=lfs diff=lfs merge=lfs -text
5
- *.ckpt filter=lfs diff=lfs merge=lfs -text
6
  *.ftz filter=lfs diff=lfs merge=lfs -text
7
  *.gz filter=lfs diff=lfs merge=lfs -text
8
  *.h5 filter=lfs diff=lfs merge=lfs -text
9
  *.joblib filter=lfs diff=lfs merge=lfs -text
10
  *.lfs.* filter=lfs diff=lfs merge=lfs -text
11
- *.mlmodel filter=lfs diff=lfs merge=lfs -text
12
  *.model filter=lfs diff=lfs merge=lfs -text
13
  *.msgpack filter=lfs diff=lfs merge=lfs -text
14
- *.npy filter=lfs diff=lfs merge=lfs -text
15
- *.npz filter=lfs diff=lfs merge=lfs -text
16
  *.onnx filter=lfs diff=lfs merge=lfs -text
17
  *.ot filter=lfs diff=lfs merge=lfs -text
18
  *.parquet filter=lfs diff=lfs merge=lfs -text
19
  *.pb filter=lfs diff=lfs merge=lfs -text
20
- *.pickle filter=lfs diff=lfs merge=lfs -text
21
- *.pkl filter=lfs diff=lfs merge=lfs -text
22
  *.pt filter=lfs diff=lfs merge=lfs -text
23
  *.pth filter=lfs diff=lfs merge=lfs -text
24
  *.rar filter=lfs diff=lfs merge=lfs -text
25
- *.safetensors filter=lfs diff=lfs merge=lfs -text
26
  saved_model/**/* filter=lfs diff=lfs merge=lfs -text
27
  *.tar.* filter=lfs diff=lfs merge=lfs -text
28
  *.tflite filter=lfs diff=lfs merge=lfs -text
@@ -30,5 +23,12 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
30
  *.wasm filter=lfs diff=lfs merge=lfs -text
31
  *.xz filter=lfs diff=lfs merge=lfs -text
32
  *.zip filter=lfs diff=lfs merge=lfs -text
33
- *.zst filter=lfs diff=lfs merge=lfs -text
34
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
 
 
 
 
 
 
2
  *.arrow filter=lfs diff=lfs merge=lfs -text
3
  *.bin filter=lfs diff=lfs merge=lfs -text
4
  *.bz2 filter=lfs diff=lfs merge=lfs -text
 
5
  *.ftz filter=lfs diff=lfs merge=lfs -text
6
  *.gz filter=lfs diff=lfs merge=lfs -text
7
  *.h5 filter=lfs diff=lfs merge=lfs -text
8
  *.joblib filter=lfs diff=lfs merge=lfs -text
9
  *.lfs.* filter=lfs diff=lfs merge=lfs -text
 
10
  *.model filter=lfs diff=lfs merge=lfs -text
11
  *.msgpack filter=lfs diff=lfs merge=lfs -text
 
 
12
  *.onnx filter=lfs diff=lfs merge=lfs -text
13
  *.ot filter=lfs diff=lfs merge=lfs -text
14
  *.parquet filter=lfs diff=lfs merge=lfs -text
15
  *.pb filter=lfs diff=lfs merge=lfs -text
 
 
16
  *.pt filter=lfs diff=lfs merge=lfs -text
17
  *.pth filter=lfs diff=lfs merge=lfs -text
18
  *.rar filter=lfs diff=lfs merge=lfs -text
 
19
  saved_model/**/* filter=lfs diff=lfs merge=lfs -text
20
  *.tar.* filter=lfs diff=lfs merge=lfs -text
21
  *.tflite filter=lfs diff=lfs merge=lfs -text
 
23
  *.wasm filter=lfs diff=lfs merge=lfs -text
24
  *.xz filter=lfs diff=lfs merge=lfs -text
25
  *.zip filter=lfs diff=lfs merge=lfs -text
26
+ *.zstandard filter=lfs diff=lfs merge=lfs -text
27
  *tfevents* filter=lfs diff=lfs merge=lfs -text
28
+ examples/example_0.png filter=lfs diff=lfs merge=lfs -text
29
+ examples/example_1.png filter=lfs diff=lfs merge=lfs -text
30
+ examples/example_2.png filter=lfs diff=lfs merge=lfs -text
31
+ examples/example_3.png filter=lfs diff=lfs merge=lfs -text
32
+ examples/example_4.png filter=lfs diff=lfs merge=lfs -text
33
+ examples/example_1.jpg filter=lfs diff=lfs merge=lfs -text
34
+ examples/example_6.jpg filter=lfs diff=lfs merge=lfs -text
README.md CHANGED
@@ -1,13 +1,13 @@
1
  ---
2
- title: Food-Category-Classification App
3
- emoji: 🏒
4
- colorFrom: red
5
- colorTo: red
6
  sdk: gradio
7
- sdk_version: 3.17.0
8
  app_file: app.py
9
  pinned: false
10
- license: openrail
11
  ---
12
 
13
  Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
1
  ---
2
+ title: CSGO Weapon Classification App
3
+ emoji: πŸ”«
4
+ colorFrom: green
5
+ colorTo: orange
6
  sdk: gradio
7
+ sdk_version: 3.0.24
8
  app_file: app.py
9
  pinned: false
10
+ license: apache-2.0
11
  ---
12
 
13
  Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
app.py ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import gradio as gr
2
+ from transformers import pipeline
3
+
4
+ examples = ["examples/example_0.jpg",
5
+ "examples/example_1.jpg",
6
+ "examples/example_2.2.jpg",
7
+ "examples/example_3.jpg",
8
+ "examples/example_4.jpg",
9
+ "examples/example_5.jpg",
10
+ "examples/example_6.jpg",
11
+ "examples/example_7.jpg"]
12
+
13
+ pipe = pipeline(task="image-classification",
14
+ model="Kaludi/food-category-classification")
15
+ gr.Interface.from_pipeline(pipe,
16
+ title="Food Category Classification App",
17
+ description = "This is a Food Category Image Classifier model that has been trained by <strong><a href='https://huggingface.co/Kaludi'>Kaludi</a></strong> to recognize <strong>11</strong> different categories of foods, including <strong>Bread, Dairy Product, Dessert, Egg, Fried Food, Meat, Noodles-Pasta, Rice, Seafood, Soup,</strong> and <strong>Vegetable-Fruit</strong>. It can accurately classify an image of food into one of these categories by analyzing its visual features. This model can be used by food bloggers, restaurants, and recipe websites to quickly categorize and sort their food images, making it easier to manage their content and provide a better user experience.",
18
+ article = "<p style='text-align: center'><a href='https://github.com/Kaludii'>Github</a> | <a href='https://huggingface.co/Kaludi'>HuggingFace</a></p>",
19
+ examples=examples,
20
+ ).launch()
examples/example_0.jpg ADDED
examples/example_1.jpg ADDED

Git LFS Details

  • SHA256: 88426cd1997ce978e1d804ead67c0965938f169b0d0ad7ba49f4bb08e32fb84e
  • Pointer size: 132 Bytes
  • Size of remote file: 1.04 MB
examples/example_2.2.jpg ADDED
examples/example_2.webp ADDED
examples/example_3.jpg ADDED
examples/example_4.jpg ADDED
examples/example_5.jpg ADDED
examples/example_6.jpg ADDED

Git LFS Details

  • SHA256: 335b9440d0dbe067de593121fc9019ccb7267cb46aac9bd9cd6aa4cfbe010757
  • Pointer size: 132 Bytes
  • Size of remote file: 1.05 MB
examples/example_7.jpg ADDED
requirements.txt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ fastcore>=1.3.27
2
+ gradio
3
+ transformers
resources/food_info.csv ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ Food,Calories,Grams of Fat,Grams of Carbs,Grams of Protein
2
+ sushi,1,2g,2g,2g
3
+ apple_pie,2,2g,2g,2g
4
+ tiramisu,3,2g,2g,2g