Spaces:
Sleeping
Sleeping
modified model
Browse files
app.py
CHANGED
@@ -23,7 +23,8 @@ if file_name is not None:
|
|
23 |
predictions = predict(file_name)
|
24 |
col2.header("Prediction:")
|
25 |
for p in predictions:
|
26 |
-
st.write(p, ': ',
|
|
|
27 |
#col2.subheader(f"{ p['label'] }: { round(p['probs'] * 100, 1)}%")
|
28 |
else:
|
29 |
st.write('Please upload a file!')
|
|
|
23 |
predictions = predict(file_name)
|
24 |
col2.header("Prediction:")
|
25 |
for p in predictions:
|
26 |
+
st.write(p, ': ', predictions[p])
|
27 |
+
print(predictions)
|
28 |
#col2.subheader(f"{ p['label'] }: { round(p['probs'] * 100, 1)}%")
|
29 |
else:
|
30 |
st.write('Please upload a file!')
|