Update app.py
Browse files
app.py
CHANGED
@@ -28,7 +28,7 @@ def predict_apple(image):
|
|
28 |
p_zederapfel = prediction[0][2] # Probability for "Zederapfel"
|
29 |
p_gesund = prediction[0][3] # Probability for "Gesund"
|
30 |
|
31 |
-
return {'
|
32 |
|
33 |
|
34 |
# Create the Gradio interface
|
|
|
28 |
p_zederapfel = prediction[0][2] # Probability for "Zederapfel"
|
29 |
p_gesund = prediction[0][3] # Probability for "Gesund"
|
30 |
|
31 |
+
return {'Gesund': p_gesund, 'Schorf': p_schorf, 'Schwarzfaeule': p_schwarzfaeule, 'Zederapfel': p_zederapfel}
|
32 |
|
33 |
|
34 |
# Create the Gradio interface
|