xmrt commited on
Commit
284aa22
·
1 Parent(s): 92499cd

3d visualization

Browse files
Files changed (1) hide show
  1. main.py +2 -4
main.py CHANGED
@@ -57,9 +57,9 @@ def poses(photo):
57
 
58
  # out_writer.release()
59
  # cv2.destroyAllWindows() # Closing window
60
- output_file = glob.glob("*.mp4")
61
 
62
- return output_file
63
 
64
 
65
 
@@ -90,7 +90,6 @@ def run():
90
  poses,
91
  inputs = gr.Video(source="upload"),
92
  outputs = gr.PlayableVideo(format='mp4', interactive=True),
93
- #examples=os.path.join(os.path.dirname(__file__), "examples/aseptic_example.mp4"),
94
  allow_flagging=False
95
  )
96
  demo = gr.TabbedInterface(
@@ -105,4 +104,3 @@ def run():
105
 
106
  if __name__ == "__main__":
107
  run()
108
- print(os.listdir())
 
57
 
58
  # out_writer.release()
59
  # cv2.destroyAllWindows() # Closing window
60
+ #output_file = glob.glob("*.mp4")
61
 
62
+ return photo #output_file
63
 
64
 
65
 
 
90
  poses,
91
  inputs = gr.Video(source="upload"),
92
  outputs = gr.PlayableVideo(format='mp4', interactive=True),
 
93
  allow_flagging=False
94
  )
95
  demo = gr.TabbedInterface(
 
104
 
105
  if __name__ == "__main__":
106
  run()