FridaKahlosArtCenter commited on
Commit
12b36b7
1 Parent(s): 4004d5e

doubled image and template size

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -13,11 +13,11 @@ print(f"CUDA device: {torch.cuda.get_device_name(torch.cuda.current_device())}")
13
 
14
 
15
  def image_to_template(generated_image, logo, button_text, punchline, theme_color):
16
- template_width = 540
17
- button_font_size = 10
18
- punchline_font_size = 30
19
- decoration_height = 10
20
- margin = 20
21
  # wrap punchline text
22
  punchline = textwrap.wrap(punchline, width=35)
23
  n_of_lines_punchline = len(punchline)
 
13
 
14
 
15
  def image_to_template(generated_image, logo, button_text, punchline, theme_color):
16
+ template_width = 1080
17
+ button_font_size = 20
18
+ punchline_font_size = 60
19
+ decoration_height = 20
20
+ margin = 40
21
  # wrap punchline text
22
  punchline = textwrap.wrap(punchline, width=35)
23
  n_of_lines_punchline = len(punchline)