seedmanc commited on
Commit
6a6aa0a
1 Parent(s): 1c5c466

Update opp.py

Browse files
Files changed (1) hide show
  1. opp.py +2 -2
opp.py CHANGED
@@ -373,7 +373,7 @@ def writeScores(table, files): # => csv_output, stats_output, stats_toggle
373
  tableQueued_False = False #@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
378
  #@markdown
379
  #@markdown tableQueued - unknown effect on speed or stability
@@ -494,7 +494,7 @@ with blks as demo:
494
  log('Prelaunch')
495
 
496
  #demo.dev_mode = DEBUG
497
- demo.launch(debug=DEBUG, quiet= not DEBUG, show_error= True, prevent_thread_lock=prevent_thread_lock, height=768)
498
  if (prevent_thread_lock and not DEBUG): demo.block_thread()
499
 
500
  #demo.close()
 
373
  tableQueued_False = False #@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 = True #@param {type:"boolean"}
377
  #@markdown tableQueued == True + queueConcurrency == 1 guarantees stalling on CPU
378
  #@markdown
379
  #@markdown tableQueued - unknown effect on speed or stability
 
494
  log('Prelaunch')
495
 
496
  #demo.dev_mode = DEBUG
497
+ demo.launch(debug=DEBUG, quiet= not DEBUG, show_error= True, prevent_thread_lock=prevent_thread_lock)
498
  if (prevent_thread_lock and not DEBUG): demo.block_thread()
499
 
500
  #demo.close()