vumichien commited on
Commit
70139ef
·
verified ·
1 Parent(s): 53493f3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -13
app.py CHANGED
@@ -169,14 +169,7 @@ TITLE = "<h1 style='font-size: 2.5em; text-align: center;'>Identify objects in c
169
  DESCRIPTION = """<p style='font-size: 1.5em; line-height: 1.6em; text-align: left;'>Welcome to the object
170
  identification application. This tool allows you to upload an image, and it will identify and annotate objects within
171
  the image. Additionally, you can perform OCR analysis on the detected objects.</p>
172
- <h2 style='font-size: 1.8em; line-height: 1.6em; text-align: left;'>Steps to use the app:</h2>
173
- <ol style='font-size: 1.2em; line-height: 1.6em; text-align: left;'>
174
- <li>Upload an image by clicking on the "Upload Image" button.</li>
175
- <li>Adjust the "Confidence Threshold" and "IOU Threshold" sliders to set the detection sensitivity.</li>
176
- <li>Click on the "Predict" button to run the object detection model.</li>
177
- <li>The detected objects will be displayed in the "Detected Mark Object" gallery.</li>
178
- <li>To analyze the detected objects, click on the "Analysis" button. The results will be shown in the "Results" table.</li>
179
- </ol>
180
  """
181
  CSS = """
182
  #output {
@@ -187,11 +180,6 @@ CSS = """
187
  h1 {
188
  text-align: center;
189
  }
190
- p, h2, ol {
191
- text-align: left;
192
- margin: 0 auto;
193
- max-width: 800px;
194
- }
195
  """
196
  EXAMPLES = [
197
  ['examples/train1.png', 0.6, 0.25],
 
169
  DESCRIPTION = """<p style='font-size: 1.5em; line-height: 1.6em; text-align: left;'>Welcome to the object
170
  identification application. This tool allows you to upload an image, and it will identify and annotate objects within
171
  the image. Additionally, you can perform OCR analysis on the detected objects.</p>
172
+
 
 
 
 
 
 
 
173
  """
174
  CSS = """
175
  #output {
 
180
  h1 {
181
  text-align: center;
182
  }
 
 
 
 
 
183
  """
184
  EXAMPLES = [
185
  ['examples/train1.png', 0.6, 0.25],