taesiri commited on
Commit
081f91c
1 Parent(s): 9031590

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -23,7 +23,7 @@ def process_image(i):
23
 
24
  def create_fiftyone_sample(sample):
25
  origin_label = fo.Classification(label=str(sample["origin"]))
26
- english_label = fo.Classification(label=str(sample["english_label"]))
27
  return fo.Sample(
28
  filepath=sample["file_path"],
29
  labels=fo.Classifications(classifications=[origin_label, english_label]),
 
23
 
24
  def create_fiftyone_sample(sample):
25
  origin_label = fo.Classification(label=str(sample["origin"]))
26
+ english_label = fo.Classification(label=str(sample["labels"]))
27
  return fo.Sample(
28
  filepath=sample["file_path"],
29
  labels=fo.Classifications(classifications=[origin_label, english_label]),