naohiro701 commited on
Commit
f1a78c7
·
verified ·
1 Parent(s): e62b9af

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -253,8 +253,7 @@ with st.sidebar:
253
  wind_range = st.slider("Onshore Wind Capacity Range (MW)", 0, 10000, (0, 10000))
254
  offshore_wind_range = st.slider("Offshore Wind Capacity Range (MW)", 0, 10000, (0, 10000))
255
  river_range = st.slider("River Capacity Range (MW)", 0, 10000, (0, 10000))
256
- thresholds = st.multiselect("Select MGA Cost Deviation Thresholds (%)", list(range(0, 1.01, 0.1)), default=[0, 0.5, 1])
257
-
258
  # 技術の選択オプション
259
  selected_technologies = st.multiselect("Select Technologies to Optimize", ['solar', 'onshore_wind', 'offshore_wind', 'river'], default=['solar', 'onshore_wind', 'offshore_wind', 'river'])
260
 
 
253
  wind_range = st.slider("Onshore Wind Capacity Range (MW)", 0, 10000, (0, 10000))
254
  offshore_wind_range = st.slider("Offshore Wind Capacity Range (MW)", 0, 10000, (0, 10000))
255
  river_range = st.slider("River Capacity Range (MW)", 0, 10000, (0, 10000))
256
+ thresholds = st.multiselect("Select MGA Cost Deviation Thresholds (%)", list(np.arange(0, 1.1, 0.1)), default=[0, 0.5, 1])
 
257
  # 技術の選択オプション
258
  selected_technologies = st.multiselect("Select Technologies to Optimize", ['solar', 'onshore_wind', 'offshore_wind', 'river'], default=['solar', 'onshore_wind', 'offshore_wind', 'river'])
259