Spaces:
Running
Running
Update app.py
Browse files
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=
|
90 |
-
height=
|
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):
|