Scezui commited on
Commit
c71b830
·
verified ·
1 Parent(s): 0a1f0a7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -133,8 +133,8 @@ def make_predictions(image_paths):
133
  except Exception as e:
134
  return {"error in make_predictions": str(e)}
135
 
136
- finally:
137
- pathlib.PosixPath = temp
138
 
139
 
140
  @app.route('/predict/<filenames>', methods=['GET', 'POST'])
 
133
  except Exception as e:
134
  return {"error in make_predictions": str(e)}
135
 
136
+ # finally:
137
+ # pathlib.PosixPath = temp
138
 
139
 
140
  @app.route('/predict/<filenames>', methods=['GET', 'POST'])