Spaces:
Running
Running
gilangf3000
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -51,7 +51,7 @@ def chat():
|
|
51 |
except Exception as e:
|
52 |
return jsonify({"error": str(e)}), 500
|
53 |
|
54 |
-
@app.route("/", methods=["GET"])
|
55 |
def api_status():
|
56 |
return jsonify({"status": "API is active", "version": "1.0.0", "service": "Chatbot"})
|
57 |
|
|
|
51 |
except Exception as e:
|
52 |
return jsonify({"error": str(e)}), 500
|
53 |
|
54 |
+
@app.route("/json", methods=["GET"])
|
55 |
def api_status():
|
56 |
return jsonify({"status": "API is active", "version": "1.0.0", "service": "Chatbot"})
|
57 |
|