robocan commited on
Commit
c703504
·
verified ·
1 Parent(s): 35a87f4

Update app.py

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