Soufianesejjari commited on
Commit
005aaff
1 Parent(s): bcb9fa1

Add application file

Browse files
Files changed (2) hide show
  1. app/model.py +1 -2
  2. requirements.txt +1 -0
app/model.py CHANGED
@@ -76,5 +76,4 @@ def predict():
76
  return jsonify(response)
77
  except Exception as e:
78
  return jsonify(error=str(e)), 500
79
- if __name__ == '__main__':
80
- app.run(debug=True)
 
76
  return jsonify(response)
77
  except Exception as e:
78
  return jsonify(error=str(e)), 500
79
+ *
 
requirements.txt CHANGED
@@ -1,3 +1,4 @@
1
  Flask
2
  tensorflow
3
  pickle
 
 
1
  Flask
2
  tensorflow
3
  pickle
4
+ uvicorn