remove 'Read json' button
Browse files112 unmodified lines11311411511611711811948 unmodified lines168169170171172173174112 unmodified lines""")json = gr.JSON(label="Json")jsonSource = gr.Textbox(label="Json source", lines=10)jsonReadBtn = gr.Button(value="Read")with gr.Accordion(label="Notes", open=False):gr.Markdown("""Points to note for pseudo-3D rotation: When performing pseudo-3D rotation on the X and Y axes, the projection is converted to 2D and Z-axis information is lost when the mouse button is released. This means that if you finish dragging while the shape is collapsed, you may not be able to restore it to its original state. In such a case, please use the "undo" function.48 unmodified linesfn = None,inputs = [], outputs = [json],_js="() => { return [savePose()]; }")jsonReadBtn.click(fn = lambda x: x,inputs = [jsonSource], outputs = [json])replaceWithJsonBtn.click(112 unmodified lines11311411511611711848 unmodified lines167168169170171172173112 unmodified lines""")json = gr.JSON(label="Json")jsonSource = gr.Textbox(label="Json source", lines=10)with gr.Accordion(label="Notes", open=False):gr.Markdown("""Points to note for pseudo-3D rotation: When performing pseudo-3D rotation on the X and Y axes, the projection is converted to 2D and Z-axis information is lost when the mouse button is released. This means that if you finish dragging while the shape is collapsed, you may not be able to restore it to its original state. In such a case, please use the "undo" function.48 unmodified linesfn = None,inputs = [], outputs = [json],_js="() => { return [savePose()]; }")jsonSource.change(fn = lambda x: x,inputs = [jsonSource], outputs = [json])replaceWithJsonBtn.click(
app.py+1-2