AItool commited on
Commit
79d897e
·
verified ·
1 Parent(s): eb05103

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -135,7 +135,7 @@ def demo_page():
135
  </head>
136
  <body>
137
  <img class="banner" src="/static/images/banner.jpg" alt="Banner" width="100%">
138
- <h2>Rectangle Image Demo (CPU Optimized)</h2>
139
  <p>Image will be rectangled with color filler where applicable.</p>
140
  <h3>Result 1:</h3>
141
  <img src="data:image/jpeg;base64,{encoded_img1}" />
@@ -160,8 +160,8 @@ def application_page():
160
  </head>
161
  <body>
162
  <img class="banner" src="/static/images/banner.jpg" alt="Banner" width="100%">
163
- <h2>Rectangle Image Application (CPU Optimized)</h2>
164
- <p>Upload a JPG image and choose your target dimensions. The image will be cropped to fit while keeping its ratio. Max 1024px per side.</p>
165
  <form action="/upload/" enctype="multipart/form-data" method="post">
166
  <label for="file">Upload your image:</label>
167
  <input name="file" type="file" required><br><br>
 
135
  </head>
136
  <body>
137
  <img class="banner" src="/static/images/banner.jpg" alt="Banner" width="100%">
138
+ <h2>Recsize Image Demo (CPU Optimized)</h2>
139
  <p>Image will be rectangled with color filler where applicable.</p>
140
  <h3>Result 1:</h3>
141
  <img src="data:image/jpeg;base64,{encoded_img1}" />
 
160
  </head>
161
  <body>
162
  <img class="banner" src="/static/images/banner.jpg" alt="Banner" width="100%">
163
+ <h2>Resize Image Application (CPU Optimized)</h2>
164
+ <p>Upload a JPG image and choose your target dimensions. Max 1600px per side.</p>
165
  <form action="/upload/" enctype="multipart/form-data" method="post">
166
  <label for="file">Upload your image:</label>
167
  <input name="file" type="file" required><br><br>