Nuno-Tome commited on
Commit
1dbb140
1 Parent(s): e7f1719

text update

Browse files
Files changed (2) hide show
  1. app.py +2 -5
  2. moldel_log,txt +3 -26
app.py CHANGED
@@ -45,7 +45,6 @@ MODELS = [
45
  "aalonso-developer/vit-base-patch16-224-in21k-clothing-classifier"
46
  "RickyIG/emotion_face_image_classification"
47
  "shadowlilac/aesthetic-shadow"
48
-
49
  ]
50
 
51
  def classify(image, model):
@@ -77,12 +76,10 @@ def main():
77
  st.title("Image Classification")
78
  st.write("This is a simple web app to test and compare different image classifier models using Hugging Face's image-classification pipeline.")
79
  st.write("From time to time more models will be added to the list. If you want to add a model, please open an issue on the GitHub repository.")
80
-
81
- st.write("The models available are:")
82
  shosen_model = st.selectbox("Select the model to use", MODELS)
83
 
84
- st.write("Upload an image and click on the 'Classify' button to classify the image.")
85
- input_image = st.file_uploader("Upload Image")
86
 
87
  if input_image is not None:
88
  image_to_classify = Image.open(input_image)
 
45
  "aalonso-developer/vit-base-patch16-224-in21k-clothing-classifier"
46
  "RickyIG/emotion_face_image_classification"
47
  "shadowlilac/aesthetic-shadow"
 
48
  ]
49
 
50
  def classify(image, model):
 
76
  st.title("Image Classification")
77
  st.write("This is a simple web app to test and compare different image classifier models using Hugging Face's image-classification pipeline.")
78
  st.write("From time to time more models will be added to the list. If you want to add a model, please open an issue on the GitHub repository.")
79
+
80
+ input_image = st.file_uploader("Upload Image")
81
  shosen_model = st.selectbox("Select the model to use", MODELS)
82
 
 
 
83
 
84
  if input_image is not None:
85
  image_to_classify = Image.open(input_image)
moldel_log,txt CHANGED
@@ -37,33 +37,10 @@ In error:
37
  apple/ml-aim.git
38
  sem tester online
39
 
40
- new:
41
- facebook/convnext-large-224
42
- timm/resnet50.a1_in1k
43
- timm/mobilenetv3_large_100.ra_in1k
44
- trpakov/vit-face-expression
45
- rizvandwiki/gender-classification
46
- #q-future/one-align
47
- LukeJacob2023/nsfw-image-detector
48
- vit-base-patch16-224-in21k
49
- not-lain/deepfake
50
- carbon225/vit-base-patch16-224-hentai
51
- facebook/convnext-base-224-22k-1k
52
- facebook/convnext-large-224
53
- facebook/convnext-tiny-224
54
- nvidia/mit-b0
55
- microsoft/resnet-18
56
- microsoft/swinv2-base-patch4-window16-256
57
- andupets/real-estate-image-classification
58
- timm/tf_efficientnetv2_s.in21k
59
- timm/convnext_tiny.fb_in22k
60
- DunnBC22/vit-base-patch16-224-in21k_Human_Activity_Recognition
61
- FatihC/swin-tiny-patch4-window7-224-finetuned-eurosat-watermark
62
- aalonso-developer/vit-base-patch16-224-in21k-clothing-classifier
63
- https://huggingface.co/RickyIG/emotion_face_image_classification
64
- https://huggingface.co/shadowlilac/aesthetic-shadow
65
-
66
 
 
 
67
 
68
 
69
  https://huggingface.co/timm/fastvit_ma36.apple_dist_in1k
 
37
  apple/ml-aim.git
38
  sem tester online
39
 
40
+ new:"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
41
 
42
+ "
43
+ "
44
 
45
 
46
  https://huggingface.co/timm/fastvit_ma36.apple_dist_in1k