Spaces:
GIZ
/
Running on CPU Upgrade

prashant commited on
Commit
c1078c4
1 Parent(s): 5267e7c
Files changed (1) hide show
  1. appStore/sdg_analysis.py +1 -1
appStore/sdg_analysis.py CHANGED
@@ -91,7 +91,7 @@ def app():
91
  if 'filepath' in st.session_state:
92
  file_name = st.session_state['filename']
93
  file_path = st.session_state['filepath']
94
- classifier = load_sdgClassifier(model_name)
95
  allDocuments = runSDGPreprocessingPipeline(fileName= file_name,
96
  filePath= file_path, split_by= split_by,
97
  split_length= split_length,
 
91
  if 'filepath' in st.session_state:
92
  file_name = st.session_state['filename']
93
  file_path = st.session_state['filepath']
94
+ classifier = load_sdgClassifier(docClassifierModel=model_name)
95
  allDocuments = runSDGPreprocessingPipeline(fileName= file_name,
96
  filePath= file_path, split_by= split_by,
97
  split_length= split_length,