Sa-m commited on
Commit
b6ae645
1 Parent(s): 3a8a084

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -20,7 +20,7 @@ def load_model():
20
  model=load_model()
21
  #, force_reload=True
22
  def detect(inp):
23
- #g = (size / max(inp.size)) # gain
24
  #im = im.resize((int(x * g) for x in im.size), Image.ANTIALIAS) # resize
25
  results = model(inp,size=640) # inference
26
  results.render() # updates results.imgs with boxes and labels
 
20
  model=load_model()
21
  #, force_reload=True
22
  def detect(inp):
23
+ #g = (size / max(inp.size)) #gain
24
  #im = im.resize((int(x * g) for x in im.size), Image.ANTIALIAS) # resize
25
  results = model(inp,size=640) # inference
26
  results.render() # updates results.imgs with boxes and labels