HONG,HAO-SYUAN

Results 13 issues of HONG,HAO-SYUAN

![image](https://github.com/AILab-CVC/YOLO-World/assets/97820073/bcd0bf66-d48b-4ef1-b1d4-525d3932f473)

### Describe the bug After clicking on the examples, click again to directly display the results without needing to click 'submit'. **I tried the same approach and found that others...

bug

Resolved Prettier auto-formatting issues and also formatted other files. Note: I have removed redundant code, specifically two unnecessary tags in the index.html

Set the weights_only parameter to True in torch.load to enhance security and prevent potential code execution risks. #132

FutureWarning: You are using `torch.load` with `weights_only=False` (the current default value), which uses the default pickle module implicitly. It is possible to construct malicious pickle data which will execute arbitrary...

Replace deprecated `torch.cuda.amp.autocast` with `torch.amp.autocast` and update usage accordingly in the codebase. This change aligns with the upcoming PyTorch version requirements and ensures better future compatibility. #127

FutureWarning: `torch.cuda.amp.autocast(args...)` is deprecated. Please use `torch.amp.autocast('cuda', args...)` instead. torch 2.4.0+cu118 torchaudio 2.4.0+cu118 torchmetrics 1.4.0.post0 torchvision 0.19.0+cu118

[scholar](https://scholar.googleusercontent.com/scholar.bib?q=info:egb5S3V0IugJ:scholar.google.com/&output=citation&scisdr=ClFs6DfHELegtEr6gSQ:AFWwaeYAAAAAZvj8mSTP8J6ge_KELr2kiY91HpM&scisig=AFWwaeYAAAAAZvj8mZxTvGDJXd4cULnmEgM8MW8&scisf=4&ct=citation&cd=-1&hl=zh-TW)

enhancement
Changes Requested