DanielPFlorian commited on
Commit
28fd108
·
1 Parent(s): 5dc340d

change plot fig size

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -209,7 +209,7 @@ def predict(image_path, model=model, category_names=cat_to_name, topk=5):
209
  # Plot Functionality
210
 
211
  image = Image.open(image_path)
212
- fig, (ax1, ax2) = plt.subplots(figsize=(8, 8), ncols=2)
213
  ax1.imshow(image)
214
  ax1.axis("off")
215
  ax2.barh(np.arange(len(top_labels)), percentages)
 
209
  # Plot Functionality
210
 
211
  image = Image.open(image_path)
212
+ fig, (ax1, ax2) = plt.subplots(ncols=2)
213
  ax1.imshow(image)
214
  ax1.axis("off")
215
  ax2.barh(np.arange(len(top_labels)), percentages)