NaokiOkamoto commited on
Commit
f70fdcd
1 Parent(s): 3efa3a8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -0
app.py CHANGED
@@ -14,6 +14,10 @@ from function import get_fish_qty, get_estat, dr_prediction_deployment, predicti
14
  import yaml
15
  with open('config.yaml') as file:
16
  config = yaml.safe_load(file.read())
 
 
 
 
17
 
18
  def retrain():
19
  get_prediction_result(retrain = True)
 
14
  import yaml
15
  with open('config.yaml') as file:
16
  config = yaml.safe_load(file.read())
17
+
18
+ with open('modeling_config.yaml', 'w', encoding='utf-8') as f:
19
+ config['A'] = 'A'
20
+ yaml.dump(config, f, encoding='utf-8', allow_unicode=True)
21
 
22
  def retrain():
23
  get_prediction_result(retrain = True)