Spaces:
Running
Running
Add Space metadata card
Browse files
README.md
CHANGED
|
@@ -1,3 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
# LibraxisAI / api-batch-tester
|
| 2 |
|
| 3 |
Public Gradio Space that serves the multi-lane API tester (standalone HTML) so you can compare any `responses`-compatible endpoints side-by-side.
|
|
@@ -19,13 +31,6 @@ python app.py # opens on http://0.0.0.0:7860
|
|
| 19 |
- `API_TESTER_HTML` – optional path to a custom HTML tester file (defaults to bundled `api-tester.html`).
|
| 20 |
- `PORT` or `GRADIO_PORT` – port to bind (default 7860).
|
| 21 |
|
| 22 |
-
## Deploying to Hugging Face Spaces
|
| 23 |
-
1. Create Space: **Gradio** type, repository name `LibraxisAI/api-batch-tester`, hardware **CPU Basic**.
|
| 24 |
-
2. Add secrets/variables in the Space settings:
|
| 25 |
-
- `GRADIO_USERNAME`, `GRADIO_PASSWORD` (or `GRADIO_AUTH`) for UI protection.
|
| 26 |
-
- Leave others empty unless you override the HTML path.
|
| 27 |
-
3. Push these files to the Space repo. HF will auto-build and serve `app.py`.
|
| 28 |
-
|
| 29 |
## Safety notes
|
| 30 |
- The tester form includes an API key field; when the Space is public, advise users not to paste production secrets unless behind auth.
|
| 31 |
- The app itself stores nothing; all calls go from the browser to the user-provided endpoints.
|
|
|
|
| 1 |
+
---
|
| 2 |
+
title: LibraxisAI API Batch Tester
|
| 3 |
+
emoji: 🚀
|
| 4 |
+
colorFrom: indigo
|
| 5 |
+
colorTo: purple
|
| 6 |
+
sdk: gradio
|
| 7 |
+
sdk_version: "4.44.0"
|
| 8 |
+
python_version: "3.10"
|
| 9 |
+
app_file: app.py
|
| 10 |
+
pinned: false
|
| 11 |
+
---
|
| 12 |
+
|
| 13 |
# LibraxisAI / api-batch-tester
|
| 14 |
|
| 15 |
Public Gradio Space that serves the multi-lane API tester (standalone HTML) so you can compare any `responses`-compatible endpoints side-by-side.
|
|
|
|
| 31 |
- `API_TESTER_HTML` – optional path to a custom HTML tester file (defaults to bundled `api-tester.html`).
|
| 32 |
- `PORT` or `GRADIO_PORT` – port to bind (default 7860).
|
| 33 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 34 |
## Safety notes
|
| 35 |
- The tester form includes an API key field; when the Space is public, advise users not to paste production secrets unless behind auth.
|
| 36 |
- The app itself stores nothing; all calls go from the browser to the user-provided endpoints.
|