WoodLB commited on
Commit
598a9af
·
1 Parent(s): c74829c

finished app no frills

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -133,7 +133,7 @@ def train_and_inference(api_key, ontology_id, model_run_id):
133
 
134
  image_url = f"{entry['Labeled Data']}"
135
  label = entry['Label']['classifications'][0]['answer']['value']
136
- st.write(entry['Label']['classifications'][0]['answer'])
137
 
138
  destination_folder = os.path.join(BASE_DIR, data_split, label)
139
  filename = os.path.basename(image_url)
 
133
 
134
  image_url = f"{entry['Labeled Data']}"
135
  label = entry['Label']['classifications'][0]['answer']['value']
136
+ labeldict[label] = entry['Label']['classifications'][0]['answer']['title']
137
 
138
  destination_folder = os.path.join(BASE_DIR, data_split, label)
139
  filename = os.path.basename(image_url)