Spaces:
GIZ
/
Running on CPU Upgrade

prashant commited on
Commit
da1c31e
1 Parent(s): 499fe35

file path error

Browse files
Files changed (1) hide show
  1. appStore/sdg_analysis.py +3 -2
appStore/sdg_analysis.py CHANGED
@@ -42,8 +42,9 @@ def app():
42
 
43
 
44
  if 'filepath' in st.session_state:
45
- allDocuments = runSDGPreprocessingPipeline(st.session_state['filepath'],
46
- st.session_state['filename'])
 
47
  if len(allDocuments['documents']) > 100:
48
  warning_msg = ": This might take sometime, please sit back and relax."
49
  else:
 
42
 
43
 
44
  if 'filepath' in st.session_state:
45
+ file_name = st.session_state['filename']
46
+ file_path = st.session_state['filename']
47
+ allDocuments = runSDGPreprocessingPipeline(file_path,file_name)
48
  if len(allDocuments['documents']) > 100:
49
  warning_msg = ": This might take sometime, please sit back and relax."
50
  else: