Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -21,8 +21,9 @@ if file_name is not None:
|
|
| 21 |
|
| 22 |
st.subheader('Bild geladen')
|
| 23 |
|
| 24 |
-
predictions = model.predict(image)
|
| 25 |
-
|
|
|
|
| 26 |
col2.header("Probabilities")
|
| 27 |
for p in predictions:
|
| 28 |
col2.subheader(f"{ p['label'] }: { round(p['score'] * 100, 1)}%")
|
|
|
|
| 21 |
|
| 22 |
st.subheader('Bild geladen')
|
| 23 |
|
| 24 |
+
#predictions = model.predict(image)
|
| 25 |
+
predictions = 0
|
| 26 |
+
|
| 27 |
col2.header("Probabilities")
|
| 28 |
for p in predictions:
|
| 29 |
col2.subheader(f"{ p['label'] }: { round(p['score'] * 100, 1)}%")
|