hysts HF staff commited on
Commit
86b8832
1 Parent(s): bc22a87
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -20,7 +20,7 @@ with gr.Blocks(css='style.css') as demo:
20
  gr.Markdown(DESCRIPTION)
21
  gr.DuplicateButton(value='Duplicate Space for private use',
22
  elem_id='duplicate-button',
23
- visible=os.getenv('SYSTEM') == 'spaces')
24
  with gr.Tabs():
25
  with gr.Tab(label='Text to 3D'):
26
  create_demo_text_to_3d(model)
 
20
  gr.Markdown(DESCRIPTION)
21
  gr.DuplicateButton(value='Duplicate Space for private use',
22
  elem_id='duplicate-button',
23
+ visible=os.getenv('SHOW_DUPLICATE_BUTTON') == '1')
24
  with gr.Tabs():
25
  with gr.Tab(label='Text to 3D'):
26
  create_demo_text_to_3d(model)