Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -19,9 +19,10 @@ st.set_page_config(
|
|
19 |
try:
|
20 |
import cubic_cpp
|
21 |
cpp_available = True
|
22 |
-
|
|
|
23 |
except ImportError as e:
|
24 |
-
|
25 |
cpp_available = False
|
26 |
|
27 |
def add_sqrt_support(expr_str):
|
|
|
19 |
try:
|
20 |
import cubic_cpp
|
21 |
cpp_available = True
|
22 |
+
# Print the location of the imported module to verify
|
23 |
+
print(f"Loaded C++ module from: {cubic_cpp.__file__}")
|
24 |
except ImportError as e:
|
25 |
+
print(f"C++ acceleration unavailable: {e}")
|
26 |
cpp_available = False
|
27 |
|
28 |
def add_sqrt_support(expr_str):
|