Spaces:
Running
Running
Commit
·
1adc032
1
Parent(s):
a963838
Update app.py
Browse files
app.py
CHANGED
@@ -56,4 +56,5 @@ if 'image' in locals(): # Check if image variable exists
|
|
56 |
st.info('The uploaded image has been classified as "{}" with {:.2f}% confidence.'.format(predicted_class, confidence))
|
57 |
|
58 |
except Exception as e:
|
|
|
59 |
st.error(f"An error occurred: {e}")
|
|
|
56 |
st.info('The uploaded image has been classified as "{}" with {:.2f}% confidence.'.format(predicted_class, confidence))
|
57 |
|
58 |
except Exception as e:
|
59 |
+
st.info('Error')
|
60 |
st.error(f"An error occurred: {e}")
|