UCS2014 commited on
Commit
a68ea4d
·
verified ·
1 Parent(s): b6d6cd6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -188,13 +188,13 @@ if not model_path:
188
  st.stop()
189
 
190
  # Load model
191
- try:
192
  model = load_model(str(model_path))
193
  except Exception as e:
194
- st.error(f"Failed to load model: {model_path}
195
- {e}")
196
  st.stop()
197
 
 
198
  # Meta overrides
199
  meta_path = MODELS_DIR / "meta.json"
200
  if meta_path.exists():
 
188
  st.stop()
189
 
190
  # Load model
191
+ try:
192
  model = load_model(str(model_path))
193
  except Exception as e:
194
+ st.error(f"Failed to load model: {model_path}\n{e}")
 
195
  st.stop()
196
 
197
+
198
  # Meta overrides
199
  meta_path = MODELS_DIR / "meta.json"
200
  if meta_path.exists():