Remove the About this version disclosure from the preview panel
Browse filesRemove the disclosure title and deployment/quality notice. Preserve the extraction and download hint and existing responsive layout.
- 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 |
-
'
|
| 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',
|