Spaces:
Sleeping
Sleeping
tonyliu404
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -434,7 +434,7 @@ with col1:
|
|
434 |
placeholder = Image.open("dish-placeholder.jpg")
|
435 |
st.image(placeholder, caption="Placeholder Image.", use_container_width=True)
|
436 |
sample_class_names = ['Donuts', 'Onion Rings', 'Beignets', 'Churros', 'Cup Cakes']
|
437 |
-
sample_confidences [98.1131911277771, 1.3879689387977123, 0.12678804341703653, 0.05296396557241678, 0.04436225863173604]
|
438 |
display_prediction_graph(sample_class_names, sample_confidences)
|
439 |
|
440 |
if uploaded_image:
|
|
|
434 |
placeholder = Image.open("dish-placeholder.jpg")
|
435 |
st.image(placeholder, caption="Placeholder Image.", use_container_width=True)
|
436 |
sample_class_names = ['Donuts', 'Onion Rings', 'Beignets', 'Churros', 'Cup Cakes']
|
437 |
+
sample_confidences = [98.1131911277771, 1.3879689387977123, 0.12678804341703653, 0.05296396557241678, 0.04436225863173604]
|
438 |
display_prediction_graph(sample_class_names, sample_confidences)
|
439 |
|
440 |
if uploaded_image:
|