hysts HF staff commited on
Commit
4c1ec5c
·
1 Parent(s): 0dce5c6
Files changed (1) hide show
  1. app.py +1 -7
app.py CHANGED
@@ -1,7 +1,5 @@
1
  #!/usr/bin/env python
2
 
3
- import os
4
-
5
  import gradio as gr
6
  import torch
7
 
@@ -17,11 +15,7 @@ if not torch.cuda.is_available():
17
 
18
  with gr.Blocks(css_paths="style.css") as demo:
19
  gr.Markdown(DESCRIPTION)
20
- gr.DuplicateButton(
21
- value="Duplicate Space for private use",
22
- elem_id="duplicate-button",
23
- visible=os.getenv("SHOW_DUPLICATE_BUTTON") == "1",
24
- )
25
  with gr.Tabs():
26
  with gr.Tab(label="Zero-shot Subject-driven Generation"):
27
  demo_zero_shot.render()
 
1
  #!/usr/bin/env python
2
 
 
 
3
  import gradio as gr
4
  import torch
5
 
 
15
 
16
  with gr.Blocks(css_paths="style.css") as demo:
17
  gr.Markdown(DESCRIPTION)
18
+
 
 
 
 
19
  with gr.Tabs():
20
  with gr.Tab(label="Zero-shot Subject-driven Generation"):
21
  demo_zero_shot.render()