alperugurcan commited on
Commit
9d8a267
·
verified ·
1 Parent(s): f959473

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -28,5 +28,6 @@ if file is not None:
28
  prediction = model.predict(image)
29
  predicted_class = np.argmax(prediction)
30
 
31
- st.write([predicted_class])
 
32
 
 
28
  prediction = model.predict(image)
29
  predicted_class = np.argmax(prediction)
30
 
31
+ class_names = [f"Class {i}" for i in range(43)] # 43 sınıf için sınıf isimleri
32
+ st.write(class_names[predicted_class])
33