tonyliu404 commited on
Commit
8632659
·
verified ·
1 Parent(s): 08cdd38

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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', labelweight='bold')
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 in the Streamlit app
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 = [