Spaces:
Build error
Build error
reichenbach
commited on
Commit
β’
da12076
1
Parent(s):
cb820b7
Update app.py
Browse files
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 |
|