jiuface commited on
Commit
2a31f6e
1 Parent(s): bcc18ad
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -74,7 +74,8 @@ def process_image(image_input, image_url, task_prompt, text_prompt=None, dilate=
74
  print("fetch image success")
75
 
76
  # start to parse prompt
77
- with calculateDuration("run_florence_inference"):
 
78
  _, result = run_florence_inference(
79
  model=FLORENCE_MODEL,
80
  processor=FLORENCE_PROCESSOR,
 
74
  print("fetch image success")
75
 
76
  # start to parse prompt
77
+ with calculateDuration("FLORENCE"):
78
+ print(task_prompt, text_prompt)
79
  _, result = run_florence_inference(
80
  model=FLORENCE_MODEL,
81
  processor=FLORENCE_PROCESSOR,