Spaces:
Runtime error
Runtime error
fixed minor issues
Browse files
app.py
CHANGED
@@ -221,9 +221,10 @@ try:
|
|
221 |
colorizer = load_model(model_folder, st_color_option)
|
222 |
print('after loading the model')
|
223 |
|
224 |
-
except:
|
225 |
colorizer = None
|
226 |
print('Error while loading the model. Please refresh the page')
|
|
|
227 |
st_title_message.markdown("**Error while loading the model. Please refresh the page**")
|
228 |
|
229 |
if colorizer is not None:
|
|
|
221 |
colorizer = load_model(model_folder, st_color_option)
|
222 |
print('after loading the model')
|
223 |
|
224 |
+
except Exception as e:
|
225 |
colorizer = None
|
226 |
print('Error while loading the model. Please refresh the page')
|
227 |
+
print(e)
|
228 |
st_title_message.markdown("**Error while loading the model. Please refresh the page**")
|
229 |
|
230 |
if colorizer is not None:
|