Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -22,7 +22,10 @@ try:
|
|
| 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):
|
|
|
|
| 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 |
+
import sys
|
| 26 |
print(f"C++ acceleration unavailable: {e}")
|
| 27 |
+
print(f"Python path: {sys.path}")
|
| 28 |
+
print(f"Current directory: {os.getcwd()}")
|
| 29 |
cpp_available = False
|
| 30 |
|
| 31 |
def add_sqrt_support(expr_str):
|