TranVanTri352
commited on
Update README.md
Browse files
README.md
CHANGED
@@ -70,7 +70,7 @@ model = T5ForConditionalGeneration.from_pretrained(model_name, from_tf=True)
|
|
70 |
@app.route('/status', methods=['GET'])
|
71 |
def model_status():
|
72 |
try:
|
73 |
-
#
|
74 |
if model and tokenizer:
|
75 |
return jsonify({
|
76 |
'status': 'ready',
|
|
|
70 |
@app.route('/status', methods=['GET'])
|
71 |
def model_status():
|
72 |
try:
|
73 |
+
# Check if the model is loaded
|
74 |
if model and tokenizer:
|
75 |
return jsonify({
|
76 |
'status': 'ready',
|