Spaces:
No application file
No application file
Upload app.py
Browse files
app.py
CHANGED
|
@@ -2,8 +2,9 @@ import sys
|
|
| 2 |
import os
|
| 3 |
current_dir = os.path.dirname(os.path.abspath(__file__))
|
| 4 |
project_root = os.path.dirname(current_dir)
|
| 5 |
-
sys.path.append(project_root)
|
| 6 |
sys.path.insert(0, os.path.dirname(os.path.abspath(__file__)))
|
|
|
|
|
|
|
| 7 |
|
| 8 |
import gradio as gr
|
| 9 |
from src.analysis.chart_processor import ChartProcessor
|
|
|
|
| 2 |
import os
|
| 3 |
current_dir = os.path.dirname(os.path.abspath(__file__))
|
| 4 |
project_root = os.path.dirname(current_dir)
|
|
|
|
| 5 |
sys.path.insert(0, os.path.dirname(os.path.abspath(__file__)))
|
| 6 |
+
sys.path.append(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
|
| 7 |
+
|
| 8 |
|
| 9 |
import gradio as gr
|
| 10 |
from src.analysis.chart_processor import ChartProcessor
|