vinay0123 commited on
Commit
03fc55d
·
verified ·
1 Parent(s): 9298e28

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -1
app.py CHANGED
@@ -274,8 +274,12 @@ model_telugu.eval()
274
  app=Flask(__name__)
275
  CORS(app)
276
 
277
- @app.route("/intent")
278
  def home():
 
 
 
 
279
  return jsonify({"intents" :list(set(df['intent'].dropna()))})
280
 
281
  @app.route("/query", methods=["POST"])
 
274
  app=Flask(__name__)
275
  CORS(app)
276
 
277
+ @app.route("/")
278
  def home():
279
+ return jsonify({"message":"Welcome to final travis final response generation and translation models."})
280
+
281
+ @app.route("/intent")
282
+ def intents():
283
  return jsonify({"intents" :list(set(df['intent'].dropna()))})
284
 
285
  @app.route("/query", methods=["POST"])