Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -1,3 +1,4 @@
|
|
|
|
1 |
from datasets import load_dataset
|
2 |
|
3 |
dataset = load_dataset('rwcuffney/pick_a_card_test', batch_size=32, shuffle=True)
|
@@ -31,7 +32,7 @@ for batch in dataset:
|
|
31 |
|
32 |
# Print the predicted class labels
|
33 |
predicted_labels = [dataset.features['label'].names[i] for i in predicted_classes]
|
34 |
-
|
35 |
|
36 |
|
37 |
|
|
|
1 |
+
import streamlit as st
|
2 |
from datasets import load_dataset
|
3 |
|
4 |
dataset = load_dataset('rwcuffney/pick_a_card_test', batch_size=32, shuffle=True)
|
|
|
32 |
|
33 |
# Print the predicted class labels
|
34 |
predicted_labels = [dataset.features['label'].names[i] for i in predicted_classes]
|
35 |
+
st.write(predicted_labels)
|
36 |
|
37 |
|
38 |
|