Chaerin5 commited on
Commit
3e4f9df
·
1 Parent(s): fd8c448

instruction renovation; allow manual keypoints at edit hands

Browse files
Files changed (1) hide show
  1. app.py +13 -13
app.py CHANGED
@@ -975,18 +975,18 @@ def unvisible_component(decider, component):
975
  update_component = gr.update(visible=True)
976
  return update_component
977
 
978
- def make_change(decider, state):
979
- '''
980
- if decider is not None, change the state's value. True/False does not matter.
981
- '''
982
- if decider is not None:
983
- if state:
984
- state = False
985
- else:
986
- state = True
987
- return state
988
- else:
989
- return state
990
 
991
  LENGTH = 480
992
 
@@ -1861,4 +1861,4 @@ with gr.Blocks(css=custom_css, theme="soft") as demo:
1861
  # _, _, shared_url = demo.queue().launch(
1862
  # share=True, server_name="0.0.0.0", server_port=7739
1863
  # )
1864
- demo.launch()
 
975
  update_component = gr.update(visible=True)
976
  return update_component
977
 
978
+ # def make_change(decider, state):
979
+ # '''
980
+ # if decider is not None, change the state's value. True/False does not matter.
981
+ # '''
982
+ # if decider is not None:
983
+ # if state:
984
+ # state = False
985
+ # else:
986
+ # state = True
987
+ # return state
988
+ # else:
989
+ # return state
990
 
991
  LENGTH = 480
992
 
 
1861
  # _, _, shared_url = demo.queue().launch(
1862
  # share=True, server_name="0.0.0.0", server_port=7739
1863
  # )
1864
+ demo.launch(share=True)