SonFox2920 commited on
Commit
544efb3
·
verified ·
1 Parent(s): 5edfad8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -105,7 +105,7 @@ def main():
105
 
106
  # Make prediction
107
  prediction = model.predict(np.expand_dims(processed_image, axis=0))
108
- class_names = ['Artificial', 'Nature'] # Replace with your actual class names
109
 
110
  # Get prediction and confidence
111
  predicted_class = class_names[np.argmax(prediction)]
 
105
 
106
  # Make prediction
107
  prediction = model.predict(np.expand_dims(processed_image, axis=0))
108
+ class_names = ['10', '7', '7.5', '8', '8.5', '9', '9.2', '9.5', '9.7']
109
 
110
  # Get prediction and confidence
111
  predicted_class = class_names[np.argmax(prediction)]