Spaces:
Runtime error
Runtime error
come
commited on
Commit
Β·
d986e8e
1
Parent(s):
30b1f3e
Update app.py
Browse files
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()
|