TahaFawzyElshrif commited on
Commit
9283abe
·
1 Parent(s): 225286f

connect queue to model

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -14,8 +14,8 @@ from Queue_Producer import send_message
14
  ##################################################
15
  # START CONSUMERS in a separate process
16
  ##################################################
17
- for i in range(3): # Start 3 consumers
18
- subprocess.Popen(['python','-u','Consumer.py'])
19
 
20
 
21
  ##################################################
 
14
  ##################################################
15
  # START CONSUMERS in a separate process
16
  ##################################################
17
+ for i in range(1,4): # Start 3 consumers
18
+ subprocess.Popen(['python','-u','Consumer.py', '--id', str(i)])
19
 
20
 
21
  ##################################################