Ahsen Khaliq commited on
Commit
7a63185
1 Parent(s): 04cc780

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -53,7 +53,7 @@ def throttled_inference(image):
53
  print(f"Inference starting when we already had {current} running")
54
  inferences_running += 1
55
  try:
56
- return gradio_inference(image)
57
  finally:
58
  print("Inference finished")
59
  inferences_running -= 1
 
53
  print(f"Inference starting when we already had {current} running")
54
  inferences_running += 1
55
  try:
56
+ return inference(image)
57
  finally:
58
  print("Inference finished")
59
  inferences_running -= 1