Spaces:
Running on Zero
Running on Zero
|
Download README.md from harp-dev/error_tester: direct link, hf CLI and curl.
- Browser
- Download file 1.14 kB
-
https://huggingface.co/spaces/harp-dev/error_tester/resolve/main/README.md
- Command line
-
hf download hf://spaces/harp-dev/error_tester/README.md
-
curl -L -o README.md https://huggingface.co/spaces/harp-dev/error_tester/resolve/main/README.md
1.14 kB
A newer version of the Gradio SDK is available: 6.29.1
metadata
title: Error Tester
emoji: 🧪
colorFrom: red
colorTo: gray
sdk: gradio
sdk_version: 5.28.0
app_file: app.py
pinned: false
license: mit
A PyHARP example Space for exercising HARP's error handling paths.
Use the dropdown controls to select the failure shape, then click Process. The app intentionally raises runtime errors, quota-looking Gradio errors, Space-status errors, or malformed output payloads so HARP can display the corresponding user-facing error.
Primary mappings:
Gradio runtime errorraisesgr.Error, which should surface as aGradioError::RuntimeError.Python runtime errorraisesRuntimeError, which should surface as aGradioError::RuntimeErrorwhen the Space is launched withshow_error=True.ZeroGPU quota errorraises a quota-lookinggr.Error, which should surface asGradioError::QuotaExceeded.Space status errorraises a message matching Hugging Face Space failure text, which HARP maps to an HTTP 503-style status failure.Output payload errorreturns invalid or unusable output data for checking HARP's downstream output parsing and file-download handling.