VicGerardoPR commited on
Commit
6642c17
·
1 Parent(s): 815a7c8

URL change

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -11,7 +11,7 @@ from PIL import Image
11
  import pickle
12
 
13
  # Cargar dataset
14
- dataset_repo = "VicGerardoPR/Traffic_Sign_Classifier"
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/Traffic_Sign_Classifier"
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)