Spaces:
Runtime error
Runtime error
Commit History
-
limit gradio queue to 1 concurrency and max 20 queued tasks
Verified signatured342f1d -
Add timeout to prediction polling to prevent queue lock
Verified signaturePreviously, the Gradio app would poll the Cog prediction status indefinitely, waiting for a "succeeded" or "failed" response. If the Cog server became unresponsive or a prediction hung (e.g. due to a bad input or internal model error), the polling loop would never exit. This behavior caused the Gradio queue to back up and eventually stall completely under high load, since all workers could get stuck waiting for unresponsive predictions. This change introduces a timeout mechanism (60 seconds) in the polling loop. If the prediction doesn't complete within that time, an error is raised and the request is gracefully terminated. This helps avoid queue deadlocks and improves reliability under concurrent usage.c80c42f -
set max_concurrency to 2 on the gradio queue
Verified signature446c7ea
-
Disable ssr mode
Verified signaturef345ad7
-
increase tiny sleep time to handle server crashes on heavy load
Verified signature8a6500e
-
increase sleeptime
Verified signature8d1fd92
-
set default height and width gradio image component
Verified signature3edc2c4 -
set input gradio image dimensions
Verified signaturefba4756
-
Update app.py
Verified signature0827d30
-
enlarge columns
Verified signature6da006c -
add gradio_api to value path
Verified signatured9bbdb2
-
Update app.py
Verified signature28cd8b1
-
adjusts sleep time
Verified signatureef53dcc -
Update app.py
Verified signature16e9df4 -
get rid of sleep time
Verified signaturef0b11a9 -
do not use concurrency limit
Verified signaturea8517d8 -
use LANCZOS filter
Verified signaturefd486d9 -
preprocess image input
Verified signature71ba5f1
-
Add sleep time to help server recovery of the fastness
Verified signature2fb017a -
fix gradio typo
Verified signatureda7e1ac -
limit to upload only inputs, switch off apis
Verified signature6ad0de3 -
add reset button
Verified signature9250557 -
css fix
Verified signatureb59317d -
css fix
Verified signaturefe9ebef -
UI refactored
Verified signaturea27478b
-
Update app.py
Verified signature9ea6812
-
set queue max size
Verified signature21bc91a
-
UI/UX to keep sliders & manipulated image on the screen at once (#2)
Verified signature- UI/UX to keep sliders & manipulated image on the screen at once (e727d11b5f12b237043c3c84a0ed0947bf25e116) - Update app.py (7c6a0bd637a90c08750435551abbc1b205cc0e1c) Co-authored-by: Apolinário from multimodal AI art <multimodalart@users.noreply.huggingface.co>6d90ae1 -
Fix height
Verified signature293de33 -
fix typo
Verified signature880934d -
Update app.py
Verified signature177aa06 -
Update app.py
Verified signaturea420442 -
Update app.py
Verified signature5082c3c -
Update app.py
Verified signaturee97cb14 -
Update app.py
Verified signatureeca6ff2 -
Update app.py
Verified signature9613d25 -
refactor to blocks
Verified signature8299c8e -
Update app.py
Verified signature49771b5 -
Update app.py
Verified signaturea21d6ae -
Upload 5 files
Verified signature16c783e