Spaces:
Runtime error
Runtime error
Update demo/demos.py
Browse files- demo/demos.py +3 -3
demo/demos.py
CHANGED
|
@@ -17,7 +17,7 @@ def get_system_memory():
|
|
| 17 |
def create_demo_keypose(process):
|
| 18 |
with gr.Blocks() as demo:
|
| 19 |
with gr.Row():
|
| 20 |
-
gr.Markdown('T2I-Adapter (Keypose)')
|
| 21 |
# with gr.Row():
|
| 22 |
# with gr.Column():
|
| 23 |
# gr.Textbox(value="Hello Memory")
|
|
@@ -47,7 +47,7 @@ def create_demo_keypose(process):
|
|
| 47 |
def create_demo_sketch(process):
|
| 48 |
with gr.Blocks() as demo:
|
| 49 |
with gr.Row():
|
| 50 |
-
gr.Markdown('T2I-Adapter (Sketch)')
|
| 51 |
with gr.Row():
|
| 52 |
with gr.Column():
|
| 53 |
input_img = gr.Image(source='upload', type="numpy")
|
|
@@ -73,7 +73,7 @@ def create_demo_sketch(process):
|
|
| 73 |
def create_demo_draw(process):
|
| 74 |
with gr.Blocks() as demo:
|
| 75 |
with gr.Row():
|
| 76 |
-
gr.Markdown('T2I-Adapter (Hand-free drawing)')
|
| 77 |
with gr.Row():
|
| 78 |
with gr.Column():
|
| 79 |
create_button = gr.Button(label="Start", value='Hand-free drawing')
|
|
|
|
| 17 |
def create_demo_keypose(process):
|
| 18 |
with gr.Blocks() as demo:
|
| 19 |
with gr.Row():
|
| 20 |
+
gr.Markdown('## T2I-Adapter (Keypose)')
|
| 21 |
# with gr.Row():
|
| 22 |
# with gr.Column():
|
| 23 |
# gr.Textbox(value="Hello Memory")
|
|
|
|
| 47 |
def create_demo_sketch(process):
|
| 48 |
with gr.Blocks() as demo:
|
| 49 |
with gr.Row():
|
| 50 |
+
gr.Markdown('## T2I-Adapter (Sketch)')
|
| 51 |
with gr.Row():
|
| 52 |
with gr.Column():
|
| 53 |
input_img = gr.Image(source='upload', type="numpy")
|
|
|
|
| 73 |
def create_demo_draw(process):
|
| 74 |
with gr.Blocks() as demo:
|
| 75 |
with gr.Row():
|
| 76 |
+
gr.Markdown('## T2I-Adapter (Hand-free drawing)')
|
| 77 |
with gr.Row():
|
| 78 |
with gr.Column():
|
| 79 |
create_button = gr.Button(label="Start", value='Hand-free drawing')
|