Hasanmog commited on
Commit
81b5911
·
1 Parent(s): 7b8b8a8
Files changed (2) hide show
  1. .ipynb_checkpoints/app-checkpoint.py +1 -11
  2. app.py +1 -11
.ipynb_checkpoints/app-checkpoint.py CHANGED
@@ -1,6 +1,4 @@
1
  import argparse
2
- <<<<<<< HEAD
3
- <<<<<<< HEAD
4
  from functools import partial
5
  import cv2
6
  import requests
@@ -124,10 +122,6 @@ if __name__ == "__main__":
124
 
125
 
126
  block.launch(server_name='0.0.0.0', server_port=7579, debug=args.debug, share=args.share)
127
-
128
- =======
129
- =======
130
- >>>>>>> e7662d3789ee2d5b878c7399e1f04cb075927919
131
  import os
132
  import numpy as np
133
  import torch
@@ -339,8 +333,4 @@ if __name__ == "__main__":
339
  image_with_box = plot_boxes_to_image(image_pil, pred_dict)[0]
340
  save_path = os.path.join(output_dir, "pred.jpg")
341
  image_with_box.save(save_path)
342
- print(f"\n======================\n{save_path} saved.\nThe program runs successfully!")
343
- <<<<<<< HEAD
344
- >>>>>>> e7662d3789ee2d5b878c7399e1f04cb075927919
345
- =======
346
- >>>>>>> e7662d3789ee2d5b878c7399e1f04cb075927919
 
1
  import argparse
 
 
2
  from functools import partial
3
  import cv2
4
  import requests
 
122
 
123
 
124
  block.launch(server_name='0.0.0.0', server_port=7579, debug=args.debug, share=args.share)
 
 
 
 
125
  import os
126
  import numpy as np
127
  import torch
 
333
  image_with_box = plot_boxes_to_image(image_pil, pred_dict)[0]
334
  save_path = os.path.join(output_dir, "pred.jpg")
335
  image_with_box.save(save_path)
336
+ print(f"\n======================\n{save_path} saved.\nThe program runs successfully!")
 
 
 
 
app.py CHANGED
@@ -1,6 +1,4 @@
1
  import argparse
2
- <<<<<<< HEAD
3
- <<<<<<< HEAD
4
  from functools import partial
5
  import cv2
6
  import requests
@@ -124,10 +122,6 @@ if __name__ == "__main__":
124
 
125
 
126
  block.launch(server_name='0.0.0.0', server_port=7579, debug=args.debug, share=args.share)
127
-
128
- =======
129
- =======
130
- >>>>>>> e7662d3789ee2d5b878c7399e1f04cb075927919
131
  import os
132
  import numpy as np
133
  import torch
@@ -339,8 +333,4 @@ if __name__ == "__main__":
339
  image_with_box = plot_boxes_to_image(image_pil, pred_dict)[0]
340
  save_path = os.path.join(output_dir, "pred.jpg")
341
  image_with_box.save(save_path)
342
- print(f"\n======================\n{save_path} saved.\nThe program runs successfully!")
343
- <<<<<<< HEAD
344
- >>>>>>> e7662d3789ee2d5b878c7399e1f04cb075927919
345
- =======
346
- >>>>>>> e7662d3789ee2d5b878c7399e1f04cb075927919
 
1
  import argparse
 
 
2
  from functools import partial
3
  import cv2
4
  import requests
 
122
 
123
 
124
  block.launch(server_name='0.0.0.0', server_port=7579, debug=args.debug, share=args.share)
 
 
 
 
125
  import os
126
  import numpy as np
127
  import torch
 
333
  image_with_box = plot_boxes_to_image(image_pil, pred_dict)[0]
334
  save_path = os.path.join(output_dir, "pred.jpg")
335
  image_with_box.save(save_path)
336
+ print(f"\n======================\n{save_path} saved.\nThe program runs successfully!")