Spaces:
Running
Running
A newer version of the Gradio SDK is available:
6.5.1
metadata
title: LibraxisAI API Batch Tester
emoji: π
colorFrom: indigo
colorTo: purple
sdk: gradio
sdk_version: 4.44.0
python_version: '3.10'
app_file: app.py
pinned: false
LibraxisAI / api-batch-tester
Public Gradio Space that serves the multi-lane API tester (standalone HTML) so you can compare any responses-compatible endpoints side-by-side.
How it works
- The HTML tester is bundled as
api-tester.htmland rendered inside a minimal Gradio app (app.py). - No backend calls are proxied; the page talks directly to whichever endpoints you enter.
- Optional basic auth protects the Space UI (recommended for private keys).
Running locally
pip install -r requirements.txt
python app.py # opens on http://0.0.0.0:7860
Environment variables
GRADIO_USERNAME,GRADIO_PASSWORDβ optional single-user basic auth.GRADIO_AUTHβ optional comma-separated list ofuser:passpairs (overrides/extends the above).API_TESTER_HTMLβ optional path to a custom HTML tester file (defaults to bundledapi-tester.html).PORTorGRADIO_PORTβ port to bind (default 7860).
Recommended: set GRADIO_AUTH (or GRADIO_USERNAME/GRADIO_PASSWORD) when running this Space publicly; keys are BYOK and stay in the browser, but auth protects against casual misuse.
Safety notes
- The tester form includes an API key field; when the Space is public, advise users not to paste production secrets unless behind auth.
- The app itself stores nothing; all calls go from the browser to the user-provided endpoints.