Spaces:
Runtime error
Runtime error
Update opp.py
Browse files
opp.py
CHANGED
@@ -371,7 +371,7 @@ def writeScores(table, files): # => csv_output, stats_output, stats_toggle
|
|
371 |
|
372 |
#@title GUI { vertical-output: true, form-width: "50%", display-mode: "both" }
|
373 |
tableQueued_False = True #@param {type:"boolean"}
|
374 |
-
queueConcurrency_2 =
|
375 |
queueUpdateInterval_0 = 0 #@param {type:"slider", min:0, max:10, step:0.2}
|
376 |
prevent_thread_lock = False #@param {type:"boolean"}
|
377 |
#@markdown tableQueued == True + queueConcurrency == 1 guarantees stalling on CPU
|
@@ -451,7 +451,7 @@ def toggleRun(files): # => submit, dataframe, status
|
|
451 |
log('INTERRUPTED at ss remaining (extra)', eta)
|
452 |
resetStatus()
|
453 |
if DEBUG:# and autoclearLog):
|
454 |
-
|
455 |
print('\r')
|
456 |
|
457 |
clearStats()
|
|
|
371 |
|
372 |
#@title GUI { vertical-output: true, form-width: "50%", display-mode: "both" }
|
373 |
tableQueued_False = True #@param {type:"boolean"}
|
374 |
+
queueConcurrency_2 = 10 #@param {type:"integer", min:1}
|
375 |
queueUpdateInterval_0 = 0 #@param {type:"slider", min:0, max:10, step:0.2}
|
376 |
prevent_thread_lock = False #@param {type:"boolean"}
|
377 |
#@markdown tableQueued == True + queueConcurrency == 1 guarantees stalling on CPU
|
|
|
451 |
log('INTERRUPTED at ss remaining (extra)', eta)
|
452 |
resetStatus()
|
453 |
if DEBUG:# and autoclearLog):
|
454 |
+
subprocess.call('clear')
|
455 |
print('\r')
|
456 |
|
457 |
clearStats()
|