dembasowmr commited on
Commit
33fb5c8
·
1 Parent(s): 1797a6f

Adjust app.py to import from compassia.py in root

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -8,7 +8,7 @@ import sys
8
 
9
  # Add src to the Python path so we can import modules from it
10
  # This is crucial for deployment environments where 'src' might not be automatically recognized
11
- sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), 'src')))
12
 
13
  # Import your DocumentRAG class and other necessary components from your backend script
14
  # Make sure your rag_backend.py has `embedding_model` defined globally or passed correctly
 
8
 
9
  # Add src to the Python path so we can import modules from it
10
  # This is crucial for deployment environments where 'src' might not be automatically recognized
11
+ #sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), 'src')))
12
 
13
  # Import your DocumentRAG class and other necessary components from your backend script
14
  # Make sure your rag_backend.py has `embedding_model` defined globally or passed correctly