groueix commited on
Commit
aeab73d
·
1 Parent(s): 08cbd06

minor style change

Browse files
Files changed (1) hide show
  1. copaint/gradio_ui.py +1 -1
copaint/gradio_ui.py CHANGED
@@ -89,7 +89,7 @@ def get_canvas_ratio_message(h_cells, w_cells):
89
  elif closest_ratio_str == "2:3" and ((h_cells == 6 and w_cells == 9) or (h_cells == 9 and w_cells == 6)):
90
  example_str = ' (for example, a 24" by 36" canvas)'
91
 
92
- return_str = f"Your grid has <b>{h_cells}x{w_cells} cells</b>, which is a <b>{h_cells*w_cells}-cell CopainT</b>.\n\n"
93
  return_str += f"Preparing your canvas: <b>choose a canvas with a {closest_ratio_str} ratio</b> to respect your design's size{example_str}."
94
  return f"<div style='font-size: 1.2em; line-height: 1.5;'>{return_str}</div>"
95
 
 
89
  elif closest_ratio_str == "2:3" and ((h_cells == 6 and w_cells == 9) or (h_cells == 9 and w_cells == 6)):
90
  example_str = ' (for example, a 24" by 36" canvas)'
91
 
92
+ return_str = f"You have chosen a <b>{h_cells}x{w_cells} Grid ({h_cells*w_cells} squares)</b>.\n\n"
93
  return_str += f"Preparing your canvas: <b>choose a canvas with a {closest_ratio_str} ratio</b> to respect your design's size{example_str}."
94
  return f"<div style='font-size: 1.2em; line-height: 1.5;'>{return_str}</div>"
95