robocan commited on
Commit
48c50ad
·
verified ·
1 Parent(s): 8a4658f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -84,7 +84,9 @@ def create_bar_plot(predictions):
84
  y="Probability",
85
  title="Top 10 Predictions with Probabilities",
86
  tooltip=["Location", "Probability"],
87
- y_lim=[0, 1]
 
 
88
  )
89
 
90
  def predict_and_plot(input_img):
 
84
  y="Probability",
85
  title="Top 10 Predictions with Probabilities",
86
  tooltip=["Location", "Probability"],
87
+ y_lim=[0, 1],
88
+ width=800, # Set the width of the plot
89
+ height=600 # Set the height of the plot
90
  )
91
 
92
  def predict_and_plot(input_img):