Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -10,9 +10,14 @@ import sys
|
|
10 |
import joblib
|
11 |
import sys
|
12 |
|
13 |
-
import
|
14 |
-
|
15 |
-
|
|
|
|
|
|
|
|
|
|
|
16 |
|
17 |
|
18 |
sys.path.append('./CC/')
|
|
|
10 |
import joblib
|
11 |
import sys
|
12 |
|
13 |
+
import os
|
14 |
+
|
15 |
+
try:
|
16 |
+
from openbabel import openbabel
|
17 |
+
except:
|
18 |
+
print ("openbabel not found, Installing openbabel ")
|
19 |
+
os.system("conda install -c conda-forge openbabel")
|
20 |
+
from openbabel import openbabel
|
21 |
|
22 |
|
23 |
sys.path.append('./CC/')
|