mgbam commited on
Commit
aaa20d9
·
verified ·
1 Parent(s): a380ee8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +19 -3
app.py CHANGED
@@ -1,9 +1,25 @@
1
  # app.py
2
- import gradio as gr
3
- import asyncio
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4
  from src.chimera.core.orchestrator import run_analysis
5
  from src.chimera.utils.logging_config import setup_logging, logger
6
- from src.chimera.config import GEMINI_API_KEY # Import to check if configured
 
 
7
 
8
  # Setup logging as soon as the app starts
9
  setup_logging()
 
1
  # app.py
2
+ import sys
3
+ import os
4
+
5
+ print("--- DEBUG INFO ---")
6
+ print("Current Working Directory:", os.getcwd())
7
+ print("sys.path:")
8
+ for p in sys.path:
9
+ print(f" - {p}")
10
+ print("Root Directory Contents:", os.listdir('.'))
11
+ if os.path.exists('src'):
12
+ print("src Directory Contents:", os.listdir('src'))
13
+ else:
14
+ print("'src' directory NOT FOUND at root.")
15
+ print("--- END DEBUG INFO ---")
16
+
17
+ # Original imports (keep the failing one to see the error after the debug info)
18
  from src.chimera.core.orchestrator import run_analysis
19
  from src.chimera.utils.logging_config import setup_logging, logger
20
+ from src.chimera.config import GEMINI_API_KEY
21
+ import gradio as gr
22
+ import asyncio
23
 
24
  # Setup logging as soon as the app starts
25
  setup_logging()