Spaces:
Running
Running
Commit History
Yesterday
-
feat: make stock analysis the primary Gradio app
cf05d66 -
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 -
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 -
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
3 days ago
-
initial commit
Verified signaturea73d60b