Spaces:
Sleeping
Sleeping
Catch the correct error
Browse files
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
|
| 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 |
|