mrfakename commited on
Commit
294e0bf
1 Parent(s): ac01906

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -618,7 +618,7 @@ def synthandreturn(text):
618
  if mdl1 in AVAILABLE_MODELS.keys(): mdl1k=AVAILABLE_MODELS[mdl1]
619
  if mdl2 in AVAILABLE_MODELS.keys(): mdl2k=AVAILABLE_MODELS[mdl2]
620
  results = {}
621
- print(f"Sending models {mdl1} and {mdl2} to API")
622
  thread1 = threading.Thread(target=predict_and_update_result, args=(text, mdl1k, results))
623
  thread2 = threading.Thread(target=predict_and_update_result, args=(text, mdl2k, results))
624
 
@@ -637,7 +637,7 @@ def synthandreturn(text):
637
  #debug
638
  # outputs = [text, btn, r2, model1, model2, aud1, aud2, abetter, bbetter, prevmodel1, prevmodel2, nxtroundbtn]
639
 
640
- print(f"Retrieving models {mdl1} and {mdl2} from API")
641
  return (
642
  text,
643
  "Synthesize",
 
618
  if mdl1 in AVAILABLE_MODELS.keys(): mdl1k=AVAILABLE_MODELS[mdl1]
619
  if mdl2 in AVAILABLE_MODELS.keys(): mdl2k=AVAILABLE_MODELS[mdl2]
620
  results = {}
621
+ print(f"Sending models {mdl1k} and {mdl2k} to API")
622
  thread1 = threading.Thread(target=predict_and_update_result, args=(text, mdl1k, results))
623
  thread2 = threading.Thread(target=predict_and_update_result, args=(text, mdl2k, results))
624
 
 
637
  #debug
638
  # outputs = [text, btn, r2, model1, model2, aud1, aud2, abetter, bbetter, prevmodel1, prevmodel2, nxtroundbtn]
639
 
640
+ print(f"Retrieving models {mdl1k} and {mdl2k} from API")
641
  return (
642
  text,
643
  "Synthesize",