euler314 commited on
Commit
dd04e12
·
verified ·
1 Parent(s): 3d207f4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -19,9 +19,10 @@ st.set_page_config(
19
  try:
20
  import cubic_cpp
21
  cpp_available = True
22
- st.success("✅ C++ acceleration active")
 
23
  except ImportError as e:
24
- st.warning(f"⚠️ C++ acceleration unavailable: {str(e)}")
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):