Update app.py
Browse files
app.py
CHANGED
|
@@ -40,6 +40,13 @@ class NSEAnalyzerApp:
|
|
| 40 |
print("π‘ Creating interface...")
|
| 41 |
self.interface = self.create_interface()
|
| 42 |
print("π’ Interface created successfully")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 43 |
|
| 44 |
except Exception as e:
|
| 45 |
print(f"π΄ Error during initialization: {e}")
|
|
|
|
| 40 |
print("π‘ Creating interface...")
|
| 41 |
self.interface = self.create_interface()
|
| 42 |
print("π’ Interface created successfully")
|
| 43 |
+
# In your NSEAnalyzerApp.__init__() method, add:
|
| 44 |
+
import os
|
| 45 |
+
print(f"π Current working directory: {os.getcwd()}")
|
| 46 |
+
print(f"π Contents of current directory: {os.listdir('.')}")
|
| 47 |
+
print(f"π /data directory exists: {os.path.exists('/data')}")
|
| 48 |
+
if os.path.exists('/data'):
|
| 49 |
+
print(f"π Contents of /data: {os.listdir('/data')}")
|
| 50 |
|
| 51 |
except Exception as e:
|
| 52 |
print(f"π΄ Error during initialization: {e}")
|