zman35 commited on
Commit
fbe9b56
·
verified ·
1 Parent(s): cc6fccf

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +11 -10
app.py CHANGED
@@ -214,16 +214,17 @@ def generate_risk_matrix():
214
  return fig
215
 
216
  # 🚀 App UI
217
- gr.Interface(
218
- fn=run_preset_strategy,
219
- inputs=gr.Dropdown(
220
- choices=["None"] + list(strategy_presets.keys()),
221
- label="Select Strategy",
222
- value="None" # Default to "None"
223
- ),
224
- outputs=["dataframe", "json", gr.Plot(), "text"],
225
- title="🎯 Preset Mode"
226
- ),
 
227
 
228
 
229
  gr.Interface(
 
214
  return fig
215
 
216
  # 🚀 App UI
217
+ gr.Interface(
218
+ fn=run_preset_strategy,
219
+ inputs=gr.Dropdown(
220
+ choices=["None"] + list(strategy_presets.keys()),
221
+ label="Select Strategy",
222
+ value="None" # Prevent auto-run on load
223
+ ),
224
+ outputs=["dataframe", "json", gr.Plot(), "text"],
225
+ title="🎯 Preset Mode"
226
+ ),
227
+
228
 
229
 
230
  gr.Interface(