Spaces:
Runtime error
Runtime error
Update
Browse files
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('
|
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'):
|