naohiro701 commited on
Commit
23f9f3c
·
verified ·
1 Parent(s): 2141c25

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -10,10 +10,10 @@ import json
10
 
11
  def get_json():
12
  """
13
- ローカルのdata.json を取得する
14
  """
15
  with open('data.json') as f:
16
- return json.load(f)
17
 
18
  # Optimize energy system and use MGA
19
  def optimize_energy_system(solar_cost, onshore_wind_cost, offshore_wind_cost, river_cost, battery_cost, yearly_demand, solar_range, wind_range, river_range, offshore_wind_range, thresholds, selected_tech):
 
10
 
11
  def get_json():
12
  """
13
+ data.json
14
  """
15
  with open('data.json') as f:
16
+ return json.load(f)
17
 
18
  # Optimize energy system and use MGA
19
  def optimize_energy_system(solar_cost, onshore_wind_cost, offshore_wind_cost, river_cost, battery_cost, yearly_demand, solar_range, wind_range, river_range, offshore_wind_range, thresholds, selected_tech):