guoshengjian commited on
Commit
b66d03f
·
1 Parent(s): a258fc5

remove hover

Browse files
Files changed (1) hide show
  1. app.py +6 -7
app.py CHANGED
@@ -169,7 +169,6 @@ button {
169
  color: white !important;
170
  transition: all 0.3s ease !important;
171
  box-shadow: 0 2px 5px rgba(0,0,0,0.2) !important;
172
- position: fixed !important;
173
  bottom: 1% !important;
174
  left: 3% !important;
175
  z-index: 1000 !important;
@@ -181,7 +180,6 @@ button {
181
  color: white !important;
182
  transition: all 0.3s ease !important;
183
  box-shadow: 0 2px 5px rgba(0,0,0,0.2) !important;
184
- position: fixed !important;
185
  bottom: 1% !important;
186
  left: 18% !important;
187
  z-index: 1000 !important;
@@ -823,14 +821,14 @@ with gr.Blocks(css=CSS, title="Document Analysis System", theme=paddle_theme) as
823
  with gr.Column():
824
  section_choice = gr.Dropdown(
825
  choices=[
826
- "Module Options",
827
  "Subpipeline Options",
 
828
  "Layout region detection Options",
829
  "Text detection Options",
830
  "Seal text recognition Options",
831
  "Table recognition Options",
832
  ],
833
- value="Module Options",
834
  label="Advance Options",
835
  show_label=True,
836
  container=True,
@@ -838,7 +836,7 @@ with gr.Blocks(css=CSS, title="Document Analysis System", theme=paddle_theme) as
838
  elem_classes=["tight-spacing"],
839
  )
840
  with gr.Column(
841
- visible=True, elem_classes="left-margin-column"
842
  ) as Module_Options:
843
  use_chart_recognition_md = gr.Markdown(
844
  "### Using the chart parsing module",
@@ -896,7 +894,7 @@ with gr.Blocks(css=CSS, title="Document Analysis System", theme=paddle_theme) as
896
  elem_id="use_textline_orientation_rd",
897
  )
898
  with gr.Column(
899
- visible=False, elem_classes="left-margin-column"
900
  ) as Subpipeline_Options:
901
  use_seal_recognition_md = gr.Markdown(
902
  "### Using the seal text recognition subpipeline",
@@ -1254,7 +1252,8 @@ with gr.Blocks(css=CSS, title="Document Analysis System", theme=paddle_theme) as
1254
  <b>Step 3:</b> Wait for Results<br>
1255
  Results will be displayed after processing<br>
1256
  <b>Step 4:</b> Download results zip<br>
1257
- Results zip will be displayed after processing<br>
 
1258
  </div>
1259
  """
1260
  )
 
169
  color: white !important;
170
  transition: all 0.3s ease !important;
171
  box-shadow: 0 2px 5px rgba(0,0,0,0.2) !important;
 
172
  bottom: 1% !important;
173
  left: 3% !important;
174
  z-index: 1000 !important;
 
180
  color: white !important;
181
  transition: all 0.3s ease !important;
182
  box-shadow: 0 2px 5px rgba(0,0,0,0.2) !important;
 
183
  bottom: 1% !important;
184
  left: 18% !important;
185
  z-index: 1000 !important;
 
821
  with gr.Column():
822
  section_choice = gr.Dropdown(
823
  choices=[
 
824
  "Subpipeline Options",
825
+ "Module Options",
826
  "Layout region detection Options",
827
  "Text detection Options",
828
  "Seal text recognition Options",
829
  "Table recognition Options",
830
  ],
831
+ value="Subpipeline Options",
832
  label="Advance Options",
833
  show_label=True,
834
  container=True,
 
836
  elem_classes=["tight-spacing"],
837
  )
838
  with gr.Column(
839
+ visible=False, elem_classes="left-margin-column"
840
  ) as Module_Options:
841
  use_chart_recognition_md = gr.Markdown(
842
  "### Using the chart parsing module",
 
894
  elem_id="use_textline_orientation_rd",
895
  )
896
  with gr.Column(
897
+ visible=True, elem_classes="left-margin-column"
898
  ) as Subpipeline_Options:
899
  use_seal_recognition_md = gr.Markdown(
900
  "### Using the seal text recognition subpipeline",
 
1252
  <b>Step 3:</b> Wait for Results<br>
1253
  Results will be displayed after processing<br>
1254
  <b>Step 4:</b> Download results zip<br>
1255
+ Results zip will be displayed after processing<br><br>
1256
+ <b>⚠️Special Attention:</b> For safety reasons, please make sure that the uploaded files do not contain personal information.
1257
  </div>
1258
  """
1259
  )