Bhushan26 commited on
Commit
80222e0
1 Parent(s): c189866

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +5 -0
main.py CHANGED
@@ -18,6 +18,11 @@ os.makedirs(RESULT_FOLDER, exist_ok=True)
18
  app.config['UPLOAD_FOLDER'] = UPLOAD_FOLDER
19
  app.config['RESULT_FOLDER'] = RESULT_FOLDER
20
 
 
 
 
 
 
21
  @app.route('/process', methods=['POST'])
22
  def predict():
23
  try:
 
18
  app.config['UPLOAD_FOLDER'] = UPLOAD_FOLDER
19
  app.config['RESULT_FOLDER'] = RESULT_FOLDER
20
 
21
+
22
+ @app.route('/')
23
+ def Home():
24
+ return {"model": "Wearon is running"}
25
+
26
  @app.route('/process', methods=['POST'])
27
  def predict():
28
  try: