Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -21,7 +21,7 @@ def predict(input_img):
|
|
| 21 |
for item in predictions :
|
| 22 |
item = tf.round((item*100))
|
| 23 |
|
| 24 |
-
fig = plt.figure(1, figsize=(8,
|
| 25 |
plt.axis('off')
|
| 26 |
plt.rcParams.update({'font.size': 24})
|
| 27 |
plt.title(f'prediction : {class_names[predicted_label]}\n\n'
|
|
|
|
| 21 |
for item in predictions :
|
| 22 |
item = tf.round((item*100))
|
| 23 |
|
| 24 |
+
fig = plt.figure(1, figsize=(8, 14))
|
| 25 |
plt.axis('off')
|
| 26 |
plt.rcParams.update({'font.size': 24})
|
| 27 |
plt.title(f'prediction : {class_names[predicted_label]}\n\n'
|