mrfakename commited on
Commit
b7f8e0c
1 Parent(s): 0c804b7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -550,10 +550,10 @@ def synthandreturn(text):
550
  raise gr.Error('Unable to call API, please try again :)')
551
  print('Done with', model)
552
  result_storage[model] = result
553
- try:
554
- doloudnorm(result)
555
- except:
556
- pass
557
  results = {}
558
  thread1 = threading.Thread(target=predict_and_update_result, args=(text, mdl1, results))
559
  thread2 = threading.Thread(target=predict_and_update_result, args=(text, mdl2, results))
 
550
  raise gr.Error('Unable to call API, please try again :)')
551
  print('Done with', model)
552
  result_storage[model] = result
553
+ # try:
554
+ # doloudnorm(result)
555
+ # except:
556
+ # pass
557
  results = {}
558
  thread1 = threading.Thread(target=predict_and_update_result, args=(text, mdl1, results))
559
  thread2 = threading.Thread(target=predict_and_update_result, args=(text, mdl2, results))