frncscp commited on
Commit
9ec23c0
·
1 Parent(s): c8a8786

Update pages/Entorno de Ejecución.py

Browse files
Files changed (1) hide show
  1. pages/Entorno de Ejecución.py +1 -1
pages/Entorno de Ejecución.py CHANGED
@@ -194,7 +194,7 @@ with vit:
194
  # #classifiers = [Dinov2Model.from_pretrained("frncscp/dinotron")]
195
  # classifiers = [pipeline("image-classification", model="frncscp/dinotron")]
196
  #else:
197
- classifiers = [pipeline("image-classification", model= model_dict[model_choice[i]]) for i in range(len(model_choice))]
198
 
199
  #classifier = pipeline("image-classification", model= model_dict[model_choice[0]])
200
  img = preprocess(uploaded_file, module = 'pil')
 
194
  # #classifiers = [Dinov2Model.from_pretrained("frncscp/dinotron")]
195
  # classifiers = [pipeline("image-classification", model="frncscp/dinotron")]
196
  #else:
197
+ classifiers = [pipeline("image-classification", model= model_dict[model_choice[i]], token = token) for i in range(len(model_choice))]
198
 
199
  #classifier = pipeline("image-classification", model= model_dict[model_choice[0]])
200
  img = preprocess(uploaded_file, module = 'pil')