cybernatedArt commited on
Commit
0d3add0
1 Parent(s): 08f8648

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -10,13 +10,13 @@ labels = ['Actinic Keratosis Basal Cell', 'Atopic Dermatitis Photos', 'Eczema',
10
  def classify_image(photos):
11
  photos = photos.reshape((-1, 224, 224, 3))
12
  prediction = model.predict(photos).flatten()
13
- confidences = {labels[i]: float(prediction[i]) for i in range(23)}
14
  return confidences
15
 
16
 
17
  title="SKIN DISEASE PREDICTION"
18
 
19
- description = "An automated system is proposed for the diagnosis of #23 common skin diseases by using data from clinical images and patient information using deep learning pre-trained ResNet50 model. we will implement a simple image classification model using Gradio and Tensorflow. The image classification model will classify images of various skin disease problems into labeled classes."
20
 
21
 
22
  article = "We used the generated Gradio UI to input an image for the trained convolutional neural network to make image classifications. The convolutional neural network was able to accurately classify the input image. Sometimes you would like to resize the image from the gradio UI for better performance"
 
10
  def classify_image(photos):
11
  photos = photos.reshape((-1, 224, 224, 3))
12
  prediction = model.predict(photos).flatten()
13
+ confidences = {labels[i]: float(prediction[i]) for i in range(9)}
14
  return confidences
15
 
16
 
17
  title="SKIN DISEASE PREDICTION"
18
 
19
+ description = "An automated system is proposed for the diagnosis of #9 common skin diseases by using data from clinical images and patient information using deep learning pre-trained EfficientNetB7 model. we will implement a simple image classification model using Gradio and Tensorflow. The image classification model will classify images of various skin disease problems into labeled classes."
20
 
21
 
22
  article = "We used the generated Gradio UI to input an image for the trained convolutional neural network to make image classifications. The convolutional neural network was able to accurately classify the input image. Sometimes you would like to resize the image from the gradio UI for better performance"