Ani-404 commited on
Commit
89fe527
·
1 Parent(s): 68c5524

updated code

Browse files
Files changed (1) hide show
  1. App/app.py +5 -0
App/app.py CHANGED
@@ -10,6 +10,11 @@ from transformers import AutoTokenizer, AutoModelForSequenceClassification
10
  from streamlit_option_menu import option_menu
11
  import os
12
  import plotly.express as px
 
 
 
 
 
13
 
14
  # This brings in the logic from your new 'finance' directory
15
  from finance.processor import (
 
10
  from streamlit_option_menu import option_menu
11
  import os
12
  import plotly.express as px
13
+ import sys
14
+
15
+ PROJECT_ROOT = r"C:\Users\anime\OneDrive\Desktop\Sentiment-Analysis-App"
16
+ if PROJECT_ROOT not in sys.path:
17
+ sys.path.insert(0, PROJECT_ROOT)
18
 
19
  # This brings in the logic from your new 'finance' directory
20
  from finance.processor import (