KevinHuSh commited on
Commit
d1675fa
·
1 Parent(s): 9487bc0

remove unused dependency (#664)

Browse files

### What problem does this PR solve?

### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)

Files changed (2) hide show
  1. rag/svr/task_executor.py +1 -1
  2. requirements.txt +0 -1
rag/svr/task_executor.py CHANGED
@@ -89,6 +89,7 @@ def set_progress(task_id, from_page=0, to_page=-1,
89
  except Exception as e:
90
  cron_logger.error("set_progress:({}), {}".format(task_id, str(e)))
91
 
 
92
  if cancel:
93
  sys.exit()
94
 
@@ -312,4 +313,3 @@ if __name__ == "__main__":
312
 
313
  while True:
314
  main()
315
- close_connection()
 
89
  except Exception as e:
90
  cron_logger.error("set_progress:({}), {}".format(task_id, str(e)))
91
 
92
+ close_connection()
93
  if cancel:
94
  sys.exit()
95
 
 
313
 
314
  while True:
315
  main()
 
requirements.txt CHANGED
@@ -50,7 +50,6 @@ joblib==1.3.2
50
  lxml==5.1.0
51
  MarkupSafe==2.1.5
52
  minio==7.2.4
53
- mpi4py==3.1.5
54
  mpmath==1.3.0
55
  multidict==6.0.5
56
  multiprocess==0.70.16
 
50
  lxml==5.1.0
51
  MarkupSafe==2.1.5
52
  minio==7.2.4
 
53
  mpmath==1.3.0
54
  multidict==6.0.5
55
  multiprocess==0.70.16