Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -15,7 +15,7 @@ model = SentenceTransformer("google/embeddinggemma-300m")
|
|
| 15 |
# นี่คือ URL ที่ JavaScript จะเรียกมา
|
| 16 |
# เช่น http://127.0.0.1:5000/api/v1/chat/completions
|
| 17 |
|
| 18 |
-
@app.route("/
|
| 19 |
def get_start():
|
| 20 |
return jsonify({"message": "Server is running"})
|
| 21 |
|
|
|
|
| 15 |
# นี่คือ URL ที่ JavaScript จะเรียกมา
|
| 16 |
# เช่น http://127.0.0.1:5000/api/v1/chat/completions
|
| 17 |
|
| 18 |
+
@app.route("/", methods=['GET'])
|
| 19 |
def get_start():
|
| 20 |
return jsonify({"message": "Server is running"})
|
| 21 |
|