Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -277,6 +277,11 @@ model_telugu.eval()
|
|
| 277 |
app=Flask(__name__)
|
| 278 |
CORS(app)
|
| 279 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 280 |
@app.route("/intent")
|
| 281 |
def intents():
|
| 282 |
return jsonify({"intents" :list(set(df['intent'].dropna()))})
|
|
|
|
| 277 |
app=Flask(__name__)
|
| 278 |
CORS(app)
|
| 279 |
|
| 280 |
+
@app.route("/")
|
| 281 |
+
def home():
|
| 282 |
+
return jsonify({"message": "hellooooooooo"})
|
| 283 |
+
|
| 284 |
+
|
| 285 |
@app.route("/intent")
|
| 286 |
def intents():
|
| 287 |
return jsonify({"intents" :list(set(df['intent'].dropna()))})
|