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