Spaces:
Runtime error
Runtime error
Ahsen Khaliq
commited on
Commit
•
7a63185
1
Parent(s):
04cc780
Update app.py
Browse files
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
|
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
|