Spaces:
Running
Running
Commit History
2 days ago
-
docs: correct dev-mode guidance after incident
5a17ca0 -
docs: record dev-mode rebuild cause and recovery Running
46465b2 -
docs: record pushed build state
34ae3c8 -
docs: spell out agent boundaries and response promises
4567005 -
docs: rewrite README for stock analysis and corner smoke test
18ec181 -
feat: make stock analysis the primary Gradio app
cf05d66 -
feat: add external analysis adapter and local JSON parser
ed8fc9e -
chore: add progress log and ignore local artifacts
dfb6c46 -
chore: ignore local node_modules artifacts
1beeba1 -
fix: align Gradio app with documented Blocks and Spaces behavior
- return new gr.Dropdown component instances instead of gr.update() when refreshing run history, per the Gradio 'Updating Component Configurations' documentation; the legacy update dict was being treated as a dropdown value - pass allowed_paths=[RESULTS_DIR] to launch() so Gradio can serve run JSON downloads from /data instead of rejecting them as outside allowed paths - use .success() rather than .then() for the post-run status note, so it no longer reports 'Run finished' after a failed run - pass inputs=[] for the no-input Run listener as documented - drop the gradio pin from requirements.txt; the Space installs Gradio from the README sdk_version, and duplicate pins can conflict during the build - document adding HF_TOKEN as a Space secret injected as an environment variable and read via os.getenv('HF_TOKEN') - verified: page loads 200, dropdown loads from history, and run JSON is downloadable through the Gradio file endpoint4c89078 -
docs: record live smoke-test results per model
- replace the trending-score column with the latest run's True/False result - record run 20261025T202058Z-ff6262: 21/30 passed in 64.56s - note that most False results are HTTP 400 'not supported by any provider you have enabled', which reflects account provider settings - keep the YAML models list in the same order as the discovery snapshotf5c9dc1 -
docs: align README with Spaces configuration standards
- expand YAML metadata with suggested_hardware, tags, and a models list - list all 30 trending models used by the current snapshot, with ranks and trending scores - document that model selection is dynamic and stored per run - add Requirements section covering HF_TOKEN, Inference Providers billing, pinned runtime versions, and CPU-basic hardware - add How it works and Settings sections matching the app.py SETTINGS block - document run JSON contents and the persistent storage layout - keep the Space title as StockAnalysis and the slug unchanged44892bf -
refactor: centralize all settings in app.py
- add a SETTINGS block at the top of app.py for model count, concurrency, max tokens, request timeout, results directory, discovery paging, and auto-run - add smoke.configure() so app.py applies those values at import time - remove environment-variable configuration for model limit, concurrency, tokens, timeout, paging, and results root - make fetch_trending_models/test_model/run_smoke resolve configured defaults at call time instead of binding them at import - replace the UI model-count slider with a read-only settings panel - add AUTO_RUN_ON_START, which runs the test on page load when a token exists - keep the Run button and route it through the configured values - remove now-unused imports from app.py - document the SETTINGS block in the README57dc987 -
docs: replace Space README with usage and storage notes
- keep the Space title as StockAnalysis and refresh short_description - remove the old placeholder/offensive README content - document discovery, cheapest-then-fastest routing, pass criteria, and budget - document the UI controls, history dropdown, and JSON download - document HF_TOKEN requirements and that the token is never written to disk - describe the /data/hf-inference-smoke storage layout - describe the project layout for app.py, smoke.py, and requirements.txt693a85b -
feat: add Gradio smoke-test dashboard
- replace the default template with a Gradio Blocks app - show live HF_TOKEN status (unset, invalid, or authenticated account and plan) - add a model-count slider (default 30) and a primary Run button - stream per-model progress while the runner works - render a summary with passed count, failures, fallback recoveries, and duration - render a results table with literal True/False per model, attempt used, latency, and error - load previous runs from /data/hf-inference-smoke via a history dropdown - offer the current run JSON as a download - populate the latest run and token banner on page load - move the theme into launch() for Gradio 6 compatibility - document discovery, routing, pass criteria, budget, and storage in-app6092030 -
feat: add inference smoke runner
- add test_model() which tries each candidate with :cheapest first - retry once with :fastest when the first attempt fails or returns no choices - treat only HTTP 200 with non-empty choices as True (pass) - classify HTTP status, timeout, and provider errors per attempt - redact the bearer token from every stored error message - use one InferenceClient per worker thread to avoid sharing a session - run models concurrently (default 3) with bounded 8-token chat requests - persist each run to /data/hf-inference-smoke/runs/<run_id>.json and latest.json - add run listing and loading with run_id validation to block traversal - add list_runs()/load_run()/load_latest_run() helpers for the UI799874f -
feat: add trending model discovery
- add smoke.py with persistent-storage paths under /data/hf-inference-smoke - query the Hub API for conversational models with inference_provider=all - sort by trendingScore and scan beyond the requested limit - filter out models without at least one live provider - save discovery snapshots and latest.json atomically - add token validation via the whoami-v2 endpoint - pin gradio, huggingface_hub, and requests in requirements.txt - ignore local runtime and agent artifactsad0d42a
4 days ago
-
initial commit
Verified signaturea73d60b