Skip to content

Commit

Permalink
Update app.py
Browse files Browse the repository at this point in the history
  • Loading branch information
PyCaret authored Jul 14, 2020
1 parent 73128cd commit 95a0188
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
data = pd.read_csv(dataset_path)
data.head()

target = ast.literal_eval(os.environ["INPUT_MYINPUT"])
target = os.environ["INPUT_MYINPUT"]

from pycaret.classification import *
clf1 = setup(data, target = target, session_id=123, silent=True, html=False, log_experiment=True, experiment_name='exp1')
Expand All @@ -14,4 +14,4 @@

save_model(c, 'model')

logs_exp1 = get_logs(save=True)
logs_exp1 = get_logs(save=True)

0 comments on commit 95a0188

Please sign in to comment.