Spaces:
Running
Running
no message
Browse files
app.py
CHANGED
@@ -29,8 +29,8 @@ def classify_full_dataset(shosen_dataset_name, chosen_model_name):
|
|
29 |
dataset = load_dataset(shosen_dataset_name,"testedata_readme")
|
30 |
|
31 |
for i in range(len(dataset)):
|
32 |
-
SCROLLABLE_TEXT.write("i:" + str(i))
|
33 |
-
image_object = dataset['pasta'][i]["image"]
|
34 |
SCROLLABLE_TEXT.image(image_object, caption="Uploaded Image", width=300)
|
35 |
#classification
|
36 |
classification_result = classifier_pipeline(image_object)
|
|
|
29 |
dataset = load_dataset(shosen_dataset_name,"testedata_readme")
|
30 |
|
31 |
for i in range(len(dataset)):
|
32 |
+
SCROLLABLE_TEXT.write("i-1:" + str(i-1))
|
33 |
+
image_object = dataset['pasta'][i-1]["image"]
|
34 |
SCROLLABLE_TEXT.image(image_object, caption="Uploaded Image", width=300)
|
35 |
#classification
|
36 |
classification_result = classifier_pipeline(image_object)
|