mlbench123 commited on
Commit
83429f9
·
verified ·
1 Parent(s): 6c841a5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -786,8 +786,8 @@ def predict_with_paper(image, paper_size, offset, finger_clearance=False):
786
  logger.info(f"Starting prediction with image shape: {image.shape}")
787
  logger.info(f"Paper size: {paper_size}")
788
 
789
- if offset_unit == "inches":
790
- offset *= 25.4
791
  edge_radius = None
792
  if edge_radius is None or edge_radius == 0:
793
  edge_radius = 0.0001
 
786
  logger.info(f"Starting prediction with image shape: {image.shape}")
787
  logger.info(f"Paper size: {paper_size}")
788
 
789
+ # if offset_unit == "inches":
790
+ # offset *= 25.4
791
  edge_radius = None
792
  if edge_radius is None or edge_radius == 0:
793
  edge_radius = 0.0001