Commit
·
6642c17
1
Parent(s):
815a7c8
URL change
Browse files
app.py
CHANGED
@@ -11,7 +11,7 @@ from PIL import Image
|
|
11 |
import pickle
|
12 |
|
13 |
# Cargar dataset
|
14 |
-
dataset_repo = "VicGerardoPR/
|
15 |
dataset_file = "train.p"
|
16 |
|
17 |
dataset_path = hf_hub_download(repo_id=dataset_repo, filename=dataset_file)
|
@@ -29,7 +29,7 @@ def preprocess_data(images, labels):
|
|
29 |
train_images, train_labels = preprocess_data(train_images, train_labels)
|
30 |
|
31 |
# Cargar modelo
|
32 |
-
model_repo = "VicGerardoPR/
|
33 |
model_file = "traffic_sign_classifier.h5"
|
34 |
|
35 |
model_path = hf_hub_download(repo_id=model_repo, filename=model_file)
|
|
|
11 |
import pickle
|
12 |
|
13 |
# Cargar dataset
|
14 |
+
dataset_repo = "VicGerardoPR/Traffic_sign_dataset"
|
15 |
dataset_file = "train.p"
|
16 |
|
17 |
dataset_path = hf_hub_download(repo_id=dataset_repo, filename=dataset_file)
|
|
|
29 |
train_images, train_labels = preprocess_data(train_images, train_labels)
|
30 |
|
31 |
# Cargar modelo
|
32 |
+
model_repo = "VicGerardoPR/Traffic_sign_model"
|
33 |
model_file = "traffic_sign_classifier.h5"
|
34 |
|
35 |
model_path = hf_hub_download(repo_id=model_repo, filename=model_file)
|