Skip to content

Commit 52227b5

Browse files
committed
remove debug
1 parent 6b73362 commit 52227b5

1 file changed

Lines changed: 0 additions & 10 deletions

File tree

evaluation_function/evaluation.py

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -400,17 +400,7 @@ def analyze_images(images, draw_images=True):
400400
append_feedback(f'Uploaded Image [{idx}]', f'![{name}]({response[idx]["url"]})')
401401

402402
append_feedback("DEBUG Times:", f"--- DEBUG Times ---\nModel load: {model_load_time:.3f}s\nAvg image load: {avg_load_time:.3f}s\nAvg prediction: {avg_prediction_time:.3f}s\nAvg detection process: {avg_process_time:.3f}s\nAvg drawing: {avg_draw_time:.3f}s\nAvg upload: {avg_upload_time:.3f}s\nAnalysis: {analysis_time:.3f}s\nFeedback: {feedback_time:.3f}s\nTotal: {total_time:.3f}s")
403-
feedback_items.append(("TEST1", "\n| Centered text |\n|:-------------:|\n| Hello woytfguyfgiuyftytfiufuytifuyttfuytyftyfityfifyttfiituyftfyifiytuituyfrld |\n **abc** \n\n"))
404-
feedback_items.append(("TESTa", "\n\n <p align='center'>Ten tekst będzie wycentrowany</p>\n\n"))
405-
feedback_items.append(("TESTb", """
406-
# Tytuł
407-
To jest **pogrubiony tekst** i *kursywa*.
408403

409-
- Punkt 1
410-
- Punkt 2
411-
412-
<p align="center">Wycentrowany tekst HTML</p>
413-
"""))
414404
is_correct = response_detection == target_class and response_detection is not None
415405

416406
return Result(

0 commit comments

Comments
 (0)