Spaces:
Runtime error
Runtime error
Update app.py
Browse files640 unmodified lines6416426436446456466473 unmodified lines651652653654655656657640 unmodified lines### **Budget & Allocation:**""")budget = gr.Slider(5, 30, value=15, step=1, label="Target compute (NCC)")hf_share = gr.Slider(0.0, 1.0, value=0.25, step=0.01,label="MF: HF share of budget (LF fills the rest)")with gr.Accordion("Advanced", open=False):3 unmodified linesinitial_span = gr.Dropdown(INITIAL_SPAN_OPTIONS, value='1e-5,1', label="MF initial span")poly_deg = gr.Dropdown([1], value=1, label="Baseline polynomial degree (HF/LF models)")viz_points = gr.Slider(5, 200, value=50, step=1, label="Number of visualization points (for scatter plot)")lf_cost = gr.Slider(0.01, 0.99, value=0.30, step=0.01, label="LF unit cost (HF fixed at 1.00)")# --- Sync LF cost default with chosen LF fidelity ---def _update_lf_cost(lf_fid_val):640 unmodified lines6416426436446456466473 unmodified lines651652653654655656657640 unmodified lines### **Budget & Allocation:**""")budget = gr.Slider(5, 30, value=15, step=1, label="Target compute (NCC)")hf_share = gr.Slider(0.0, 1.0, value=0.5, step=0.01,label="MF: HF share of budget (LF fills the rest)")with gr.Accordion("Advanced", open=False):3 unmodified linesinitial_span = gr.Dropdown(INITIAL_SPAN_OPTIONS, value='1e-5,1', label="MF initial span")poly_deg = gr.Dropdown([1], value=1, label="Baseline polynomial degree (HF/LF models)")viz_points = gr.Slider(5, 200, value=50, step=1, label="Number of visualization points (for scatter plot)")lf_cost = gr.Slider(0.11, 0.99, value=0.30, step=0.01, label="LF unit cost (HF fixed at 1.00)")# --- Sync LF cost default with chosen LF fidelity ---def _update_lf_cost(lf_fid_val):
app.py+2-2