Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -274,8 +274,12 @@ model_telugu.eval()
|
|
| 274 |
app=Flask(__name__)
|
| 275 |
CORS(app)
|
| 276 |
|
| 277 |
-
@app.route("/
|
| 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"])
|