tjw commited on
Commit
01179bf
1 Parent(s): 05496fd
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -14,7 +14,7 @@ import logging
14
  #logging.basicConfig(level=logging.DEBUG)
15
  print("Loading model...")
16
  fl, fl_ft = model_init(hack=False)
17
- @spaces.GPU(duration=30)
18
  def process_image(input_image:Image, meter_type:str):
19
  if meter_type == "方形儀表":
20
  value, img = read_meter_rect(input_image, fl, fl_ft)
 
14
  #logging.basicConfig(level=logging.DEBUG)
15
  print("Loading model...")
16
  fl, fl_ft = model_init(hack=False)
17
+ @spaces.GPU(duration=60)
18
  def process_image(input_image:Image, meter_type:str):
19
  if meter_type == "方形儀表":
20
  value, img = read_meter_rect(input_image, fl, fl_ft)