AItool commited on
Commit
807774d
·
verified ·
1 Parent(s): ab7e106

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -131,7 +131,7 @@ def demo_page():
131
  </head>
132
  <body>
133
  <img class="banner" src="/static/images/banner.jpg" alt="Banner" width="100%">
134
- <h2>Square Image Demo</h2>
135
  <p>Image will be rectangled with color filler where applicable.</p>
136
  <h3>Result 1:</h3>
137
  <img src="data:image/jpeg;base64,{encoded_img1}" />
@@ -153,11 +153,11 @@ def application_page():
153
  </head>
154
  <body>
155
  <img class="banner" src="/static/images/banner.jpg" alt="Banner" width="100%">
156
- <h2>Square Image Application</h2>
157
- <p>Upload a JPG image to square and fill with color filler.</p>
158
  <form action="/upload/" enctype="multipart/form-data" method="post">
159
  <input name="file" type="file">
160
- <input type="submit" value="Square It">
161
  </form>
162
  <a href="/">Back</a>
163
  </body>
 
131
  </head>
132
  <body>
133
  <img class="banner" src="/static/images/banner.jpg" alt="Banner" width="100%">
134
+ <h2>Rectangle Image Demo</h2>
135
  <p>Image will be rectangled with color filler where applicable.</p>
136
  <h3>Result 1:</h3>
137
  <img src="data:image/jpeg;base64,{encoded_img1}" />
 
153
  </head>
154
  <body>
155
  <img class="banner" src="/static/images/banner.jpg" alt="Banner" width="100%">
156
+ <h2>Rectangle Image Application</h2>
157
+ <p>Upload a JPG image to rectangle and fill with color filler.</p>
158
  <form action="/upload/" enctype="multipart/form-data" method="post">
159
  <input name="file" type="file">
160
+ <input type="submit" value="Rectangle It">
161
  </form>
162
  <a href="/">Back</a>
163
  </body>