jonigata commited on
Commit
5b63955
1 Parent(s): 47994fa

arranged ui

Browse files
Files changed (1) hide show
  1. app.py +2 -6
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
- with gr.Row():
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 = source, outputs = console,
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="/")