EnzoBustos commited on
Commit
07f3c80
1 Parent(s): d13ba5f

Adjust in file reference

Browse files
IC-2022-Classificacao-de-Dados-Financeiros - Atalho.lnk ADDED
Binary file (1.04 kB). View file
 
app.py CHANGED
@@ -33,7 +33,7 @@ def sentiment_vader(text):
33
  return overall_sentiment.upper()
34
 
35
  def classify_by_company(text):
36
- path = r"\Companies"
37
 
38
  for filename in os.listdir(path):
39
  with open(path + '\\' + filename, 'r') as f:
@@ -111,7 +111,7 @@ def load_models(parameters_list):
111
 
112
  return out_translation, out_sentiment, out_classification
113
 
114
- df = pd.read_csv(r"\Data\Hugging Face_DF.csv")
115
 
116
  header = st.container()
117
  model = st.container()
 
33
  return overall_sentiment.upper()
34
 
35
  def classify_by_company(text):
36
+ path = r"Companies"
37
 
38
  for filename in os.listdir(path):
39
  with open(path + '\\' + filename, 'r') as f:
 
111
 
112
  return out_translation, out_sentiment, out_classification
113
 
114
+ df = pd.read_csv(f"Data\Hugging Face_DF.csv")
115
 
116
  header = st.container()
117
  model = st.container()