AkshitShubham commited on
Commit
65a4590
·
verified ·
1 Parent(s): cc77ade

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. beta/api/api.py +3 -0
beta/api/api.py CHANGED
@@ -59,6 +59,9 @@ def get_file(task_id,name):
59
  return send_file( f"{file}", as_attachment=True), 200
60
 
61
 
 
 
 
62
 
63
  if __name__ == '__main__':
64
  app.run(debug=True)
 
59
  return send_file( f"{file}", as_attachment=True), 200
60
 
61
 
62
+ @app.route('/', methods=['GET'])
63
+ def index():
64
+ return jsonify({'message': 'Hello, World!'}), 200
65
 
66
  if __name__ == '__main__':
67
  app.run(debug=True)