Hafiza Maham commited on
Commit
6cfb658
·
1 Parent(s): f9dbb85

Add application file

Browse files
Files changed (1) hide show
  1. app.py +4 -0
app.py CHANGED
@@ -335,6 +335,10 @@ def warmup():
335
  return jsonify({'status': 'Models warmed up and embeddings ready.'})
336
  except Exception as e:
337
  return jsonify({'error': str(e)})
 
 
 
 
338
 
339
 
340
  if __name__ == '__main__':
 
335
  return jsonify({'status': 'Models warmed up and embeddings ready.'})
336
  except Exception as e:
337
  return jsonify({'error': str(e)})
338
+
339
+ @app.route('/')
340
+ def home():
341
+ return "API is live!"
342
 
343
 
344
  if __name__ == '__main__':