Shafanda Nabil Sembodo commited on
Commit
b40741e
·
1 Parent(s): 1e88d1c
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -34,7 +34,7 @@ if uploaded_file is not None:
34
  try:
35
  prediction = predict_model(model, df).drop(columns='Unnamed: 0')
36
  except:
37
- os.chmod("/var/folders", stat.S_IRWXO)
38
  prediction = predict_model(model, df).drop(columns='Unnamed: 0')
39
 
40
  # show the result
 
34
  try:
35
  prediction = predict_model(model, df).drop(columns='Unnamed: 0')
36
  except:
37
+ os.chmod("/home/user/app/", stat.S_IRWXO)
38
  prediction = predict_model(model, df).drop(columns='Unnamed: 0')
39
 
40
  # show the result