Spaces:
Sleeping
Sleeping
tonyliu404
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -445,7 +445,7 @@ if recipe_submit and uploaded_image:
|
|
445 |
va='center', ha='right', color='white', fontweight='bold')
|
446 |
|
447 |
ax.set_xticklabels([]) #remove x label
|
448 |
-
ax.tick_params(axis='y', colors='white',
|
449 |
|
450 |
#no borders
|
451 |
for spine in ax.spines.values():
|
@@ -453,7 +453,7 @@ if recipe_submit and uploaded_image:
|
|
453 |
|
454 |
x.set_title(class_names[0], color='white', fontsize=16, fontweight='bold', ha='center')
|
455 |
|
456 |
-
st.pyplot(fig) # Display the plot
|
457 |
|
458 |
# call openai to pick the best classification result based on query
|
459 |
openAICall = [
|
|
|
445 |
va='center', ha='right', color='white', fontweight='bold')
|
446 |
|
447 |
ax.set_xticklabels([]) #remove x label
|
448 |
+
ax.tick_params(axis='y', colors='white', labelfontweight='bold')
|
449 |
|
450 |
#no borders
|
451 |
for spine in ax.spines.values():
|
|
|
453 |
|
454 |
x.set_title(class_names[0], color='white', fontsize=16, fontweight='bold', ha='center')
|
455 |
|
456 |
+
st.pyplot(fig) # Display the plot
|
457 |
|
458 |
# call openai to pick the best classification result based on query
|
459 |
openAICall = [
|