Spaces:
Running
on
Zero
Running
on
Zero
Update
Browse files
app.py
CHANGED
@@ -1,6 +1,5 @@
|
|
1 |
#!/usr/bin/env python
|
2 |
|
3 |
-
import os
|
4 |
import random
|
5 |
|
6 |
import gradio as gr
|
@@ -166,11 +165,6 @@ def create_demo(mode_name: str) -> gr.Blocks:
|
|
166 |
|
167 |
with gr.Blocks(css_paths="style.css") as demo:
|
168 |
gr.Markdown(DESCRIPTION)
|
169 |
-
gr.DuplicateButton(
|
170 |
-
value="Duplicate Space for private use",
|
171 |
-
elem_id="duplicate-button",
|
172 |
-
visible=os.getenv("SHOW_DUPLICATE_BUTTON") == "1",
|
173 |
-
)
|
174 |
with gr.Tabs():
|
175 |
with gr.TabItem("text2image"):
|
176 |
create_demo("t2i")
|
|
|
1 |
#!/usr/bin/env python
|
2 |
|
|
|
3 |
import random
|
4 |
|
5 |
import gradio as gr
|
|
|
165 |
|
166 |
with gr.Blocks(css_paths="style.css") as demo:
|
167 |
gr.Markdown(DESCRIPTION)
|
|
|
|
|
|
|
|
|
|
|
168 |
with gr.Tabs():
|
169 |
with gr.TabItem("text2image"):
|
170 |
create_demo("t2i")
|