Spaces:
Runtime error
Runtime error
Ahsen Khaliq
commited on
Commit
•
fe6e820
1
Parent(s):
b76ff72
Update app.py
Browse files
app.py
CHANGED
@@ -522,6 +522,7 @@ def gradio_inference(image):
|
|
522 |
resize_w=300, # resize original input to this size. None means do not resize.
|
523 |
serial=True) # if need animation, serial must be True.
|
524 |
|
|
|
525 |
def throttled_inference(image):
|
526 |
global inferences_running
|
527 |
current = inferences_running
|
|
|
522 |
resize_w=300, # resize original input to this size. None means do not resize.
|
523 |
serial=True) # if need animation, serial must be True.
|
524 |
|
525 |
+
inferences_running = 0
|
526 |
def throttled_inference(image):
|
527 |
global inferences_running
|
528 |
current = inferences_running
|