Spanicin commited on
Commit
bc5193b
·
verified ·
1 Parent(s): 3535970

Update app_parallel.py

Browse files
Files changed (1) hide show
  1. app_parallel.py +1 -1
app_parallel.py CHANGED
@@ -362,7 +362,7 @@ def parallel_processing():
362
  @app.route("/stream", methods=["GET"])
363
  def stream_results():
364
  global future_to_chunk
365
- def generate():
366
  for future in as_completed(future_to_chunk):
367
  idx = future_to_chunk[future]
368
  try:
 
362
  @app.route("/stream", methods=["GET"])
363
  def stream_results():
364
  global future_to_chunk
365
+ def generate():
366
  for future in as_completed(future_to_chunk):
367
  idx = future_to_chunk[future]
368
  try: