Update app.py
Browse files
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 |
-
|
|
|
|
| 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 |
|