Spaces:
Running
on
Zero
Running
on
Zero
bugfix
Browse files
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("
|
|
|
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,
|