Spaces:
Runtime error
Runtime error
arranged ui
Browse files
app.py
CHANGED
@@ -54,11 +54,7 @@ with gr.Blocks() as demo:
|
|
54 |
startBtn = gr.Button(value="Start edit")
|
55 |
with gr.Column(scale=2):
|
56 |
html = gr.HTML(html_text)
|
57 |
-
|
58 |
-
with gr.Column(scale=2):
|
59 |
-
console = gr.Textbox(label="console")
|
60 |
-
with gr.Column(scale=1):
|
61 |
-
saveBtn = gr.Button(value="Save")
|
62 |
|
63 |
source.change(
|
64 |
fn=lambda x: x.size,
|
@@ -70,7 +66,7 @@ with gr.Blocks() as demo:
|
|
70 |
_js="(w, h) => { initializePose(w,h); return []; }")
|
71 |
saveBtn.click(
|
72 |
fn = None,
|
73 |
-
inputs =
|
74 |
_js="() => { savePose(); }")
|
75 |
|
76 |
gr.mount_gradio_app(app, demo, path="/")
|
|
|
54 |
startBtn = gr.Button(value="Start edit")
|
55 |
with gr.Column(scale=2):
|
56 |
html = gr.HTML(html_text)
|
57 |
+
saveBtn = gr.Button(value="Save")
|
|
|
|
|
|
|
|
|
58 |
|
59 |
source.change(
|
60 |
fn=lambda x: x.size,
|
|
|
66 |
_js="(w, h) => { initializePose(w,h); return []; }")
|
67 |
saveBtn.click(
|
68 |
fn = None,
|
69 |
+
inputs = [], outputs = [],
|
70 |
_js="() => { savePose(); }")
|
71 |
|
72 |
gr.mount_gradio_app(app, demo, path="/")
|