reichenbach commited on
Commit
da12076
β€’
1 Parent(s): cb820b7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -97,7 +97,7 @@ def classify_info(image_1, text_1, image_2, text_2):
97
  ds = ds.batch(batch_size).prefetch(auto)
98
  output = model.predict(ds)
99
 
100
- outputs = {labels[i], output[i] for i in range(len(output))}
101
  #label = np.argmax(output)
102
  return outputs #labels[label]
103
 
 
97
  ds = ds.batch(batch_size).prefetch(auto)
98
  output = model.predict(ds)
99
 
100
+ outputs = {(labels[i], output[i]) for i in range(len(output))}
101
  #label = np.argmax(output)
102
  return outputs #labels[label]
103