seawolf2357 commited on
Commit
d22e6d3
·
verified ·
1 Parent(s): 81a5368

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -53,6 +53,7 @@ examples = [
53
  "A stylish young woman with long, wavy ombre hair and winged eyeliner, posing in front of a neon-lit city skyline at night. She's wearing a sleek black leather jacket over a sparkly crop top and holding up a holographic business card that says 'Invite' in futuristic font. The card reflects the colorful neon lights, creating a cyberpunk aesthetic.",
54
  ]
55
 
 
56
  css = """
57
  footer {visibility: hidden;}
58
  .container {max-width: 1200px; margin: auto; padding: 20px;}
@@ -61,12 +62,13 @@ footer {visibility: hidden;}
61
  border-radius: 10px;
62
  padding: 20px;
63
  margin-bottom: 20px;
64
- height: 100%; /* Set height to 100% */
65
  display: flex;
66
  flex-direction: column;
67
  }
68
  .image-box img {
69
  max-height: 100%;
 
70
  object-fit: contain;
71
  }
72
  .generate-box .row {display: flex; align-items: center; margin-bottom: 10px;}
 
53
  "A stylish young woman with long, wavy ombre hair and winged eyeliner, posing in front of a neon-lit city skyline at night. She's wearing a sleek black leather jacket over a sparkly crop top and holding up a holographic business card that says 'Invite' in futuristic font. The card reflects the colorful neon lights, creating a cyberpunk aesthetic.",
54
  ]
55
 
56
+
57
  css = """
58
  footer {visibility: hidden;}
59
  .container {max-width: 1200px; margin: auto; padding: 20px;}
 
62
  border-radius: 10px;
63
  padding: 20px;
64
  margin-bottom: 20px;
65
+ height: 400px; /* 고정된 높이 설정 */
66
  display: flex;
67
  flex-direction: column;
68
  }
69
  .image-box img {
70
  max-height: 100%;
71
+ width: 100%;
72
  object-fit: contain;
73
  }
74
  .generate-box .row {display: flex; align-items: center; margin-bottom: 10px;}