tomasruiz commited on
Commit
e18d41a
·
1 Parent(s): 4d80039

Catch the correct error

Browse files
Files changed (1) hide show
  1. st_app.py +1 -1
st_app.py CHANGED
@@ -3,7 +3,7 @@ import streamlit as st
3
 
4
  try:
5
  from llmlib.runtime import filled_model_registry
6
- except ImportError:
7
  import os
8
  import subprocess
9
 
 
3
 
4
  try:
5
  from llmlib.runtime import filled_model_registry
6
+ except ModuleNotFoundError:
7
  import os
8
  import subprocess
9