hysts HF staff commited on
Commit
424ab4a
1 Parent(s): 742052e
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -42,7 +42,7 @@ with gr.Blocks(css='style.css') as demo:
42
  gr.Markdown(DESCRIPTION)
43
  gr.DuplicateButton(value='Duplicate Space for private use',
44
  elem_id='duplicate-button',
45
- visible=os.getenv('SYSTEM') == 'spaces')
46
 
47
  with gr.Tabs():
48
  with gr.TabItem('Canny'):
 
42
  gr.Markdown(DESCRIPTION)
43
  gr.DuplicateButton(value='Duplicate Space for private use',
44
  elem_id='duplicate-button',
45
+ visible=os.getenv('SHOW_DUPLICATE_BUTTON') == '1')
46
 
47
  with gr.Tabs():
48
  with gr.TabItem('Canny'):