come commited on
Commit
d986e8e
Β·
1 Parent(s): 30b1f3e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -455,7 +455,7 @@ def test():
455
  'γŸγ γ„γΎγ€œπŸ πŸŽ‰η–²γ‚ŒγŸγƒ‹γƒ£πŸ˜ΏπŸ’€#SimejiAI'
456
  'γŸγ γ„γΎη–²γ‚ŒγŸγƒ‹γƒ£'
457
 
458
- def excelAIReviewTag(file_obj,gptVersion,tempor,gptApiKey,progress=gr.Progress()):
459
  global tmpdir
460
  progress(0, desc="Starting...")
461
  print('δΈ΄ζ—Άζ–‡δ»Άε€Ήεœ°ε€οΌš{}'.format(tmpdir))
@@ -486,7 +486,6 @@ def excelAIReviewTag(file_obj,gptVersion,tempor,gptApiKey,progress=gr.Progress()
486
  task = excutor.submit(Handle, params)
487
  futures.append(task)
488
  prad = tqdm(total=len(futures))
489
-
490
  for future in concurrent.futures.as_completed(futures):
491
  prad.update(1)
492
  newline = future.result()
 
455
  'γŸγ γ„γΎγ€œπŸ πŸŽ‰η–²γ‚ŒγŸγƒ‹γƒ£πŸ˜ΏπŸ’€#SimejiAI'
456
  'γŸγ γ„γΎη–²γ‚ŒγŸγƒ‹γƒ£'
457
 
458
+ def excelAIReviewTag(file_obj,gptVersion,tempor,gptApiKey,progress=gr.Progress(track_tqdm=True)):
459
  global tmpdir
460
  progress(0, desc="Starting...")
461
  print('δΈ΄ζ—Άζ–‡δ»Άε€Ήεœ°ε€οΌš{}'.format(tmpdir))
 
486
  task = excutor.submit(Handle, params)
487
  futures.append(task)
488
  prad = tqdm(total=len(futures))
 
489
  for future in concurrent.futures.as_completed(futures):
490
  prad.update(1)
491
  newline = future.result()