Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -151,7 +151,7 @@ def generate_caption(model, tokenizer, image_features, max_length):
|
|
| 151 |
# Chạy test
|
| 152 |
# -----------------------------
|
| 153 |
|
| 154 |
-
MODEL_REPO = "
|
| 155 |
|
| 156 |
# Khởi tạo tài nguyên toàn cục khi app start
|
| 157 |
model_path = hf_hub_download(repo_id=MODEL_REPO, filename="best_model.keras")
|
|
|
|
| 151 |
# Chạy test
|
| 152 |
# -----------------------------
|
| 153 |
|
| 154 |
+
MODEL_REPO = "dunglelele/img_cap"
|
| 155 |
|
| 156 |
# Khởi tạo tài nguyên toàn cục khi app start
|
| 157 |
model_path = hf_hub_download(repo_id=MODEL_REPO, filename="best_model.keras")
|