JORGE DIOSDADO commited on
Commit
a7f0b21
1 Parent(s): be3a728
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -78,7 +78,7 @@ if uploaded_file is not None:
78
 
79
  # Display the image with overlaid text
80
 
81
- overlay_draw.font = ImageFont.truetype("arial.ttf")
82
 
83
  lista_images = split_image(uploaded_file)
84
  label = [] # Initialize the label list
@@ -95,7 +95,7 @@ if uploaded_file is not None:
95
  x = 10 if count % 2 == 0 else quadrant_width + 10
96
  y = 10 if count < 2 else quadrant_height + 10
97
 
98
- overlay_draw.text((x, y), predictionss[pred], font = font, fill=(0, 0, 0, 256))
99
  #st.write(f"Prediction {count+1}: {predictionss[pred]}")
100
 
101
 
 
78
 
79
  # Display the image with overlaid text
80
 
81
+ overlay_draw.font = ImageFont.truetype("arial.ttf", 50)
82
 
83
  lista_images = split_image(uploaded_file)
84
  label = [] # Initialize the label list
 
95
  x = 10 if count % 2 == 0 else quadrant_width + 10
96
  y = 10 if count < 2 else quadrant_height + 10
97
 
98
+ overlay_draw.text((x, y), predictionss[pred], fill=(0, 0, 0, 256))
99
  #st.write(f"Prediction {count+1}: {predictionss[pred]}")
100
 
101