UniLat3D commited on
Commit
46afef8
·
verified ·
1 Parent(s): 91be4b3

Remove the About this version disclosure from the preview panel

Browse files

Remove the disclosure title and deployment/quality notice. Preserve the extraction and download hint and existing responsive layout.

Files changed (1) hide show
  1. hf_space/ui.py +2 -4
hf_space/ui.py CHANGED
@@ -137,10 +137,8 @@ def build_ui(generate, deployment_status, *, cached_result, default_image=None,
137
  extract_btn = gr.Button('Extract GLB',interactive=False,elem_id='st-extract')
138
  extraction_status = html('', visible='hidden', elem_id='st-extraction-progress')
139
  download_btn = gr.DownloadButton('Download GLB', visible='hidden', elem_id='st-download')
140
- html('<div class="st-extraction-note">Preview first. Click Extract GLB to download.'
141
- '<details><summary>About this version</summary>'
142
- '<p>We are actively working to resolve model deployment issues and will make the model available for use as soon as they are resolved; results from the current version may be inconsistent and do not reflect the final model quality.</p>'
143
- '</details></div>',elem_id='st-extraction-note')
144
  with gr.Column(scale=0, min_width=112, elem_id='st-examples-panel'):
145
  html('<div class="st-panel-title">Try an example</div>')
146
  names = example_names or ['pitcher_plant', 'motocross_helmet', 'fighter', 'compact_excavator',
 
137
  extract_btn = gr.Button('Extract GLB',interactive=False,elem_id='st-extract')
138
  extraction_status = html('', visible='hidden', elem_id='st-extraction-progress')
139
  download_btn = gr.DownloadButton('Download GLB', visible='hidden', elem_id='st-download')
140
+ html('<div class="st-extraction-note">Preview first. Click Extract GLB to download.</div>',
141
+ elem_id='st-extraction-note')
 
 
142
  with gr.Column(scale=0, min_width=112, elem_id='st-examples-panel'):
143
  html('<div class="st-panel-title">Try an example</div>')
144
  names = example_names or ['pitcher_plant', 'motocross_helmet', 'fighter', 'compact_excavator',