Ahsen Khaliq commited on
Commit
387ad5d
1 Parent(s): fe6e820

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -532,7 +532,7 @@ def throttled_inference(image):
532
  print(f"Inference starting when we already had {current} running")
533
  inferences_running += 1
534
  try:
535
- return inference(image)
536
  finally:
537
  print("Inference finished")
538
  inferences_running -= 1
 
532
  print(f"Inference starting when we already had {current} running")
533
  inferences_running += 1
534
  try:
535
+ return gradio_inference(image)
536
  finally:
537
  print("Inference finished")
538
  inferences_running -= 1