Closed Thompson-cyber closed 3 months ago
Hi, I would be very grateful for any updates or feedback you can give when you get a moment. 😊
Upon further inspection, sample_recorder.py
is not used for any main logic. It was generated as a test script to collect activation samples. I have deleted the code in that file. Hope this resolved your issue!
Thank for your reply! 😊
Hi ,I found a potential issue regarding license violation in the ditto_activation . The sample-recorder.py generated by ChatGPT may have been derived from another repository, leading to a violation of its license terms. Below are the details:
Details
The code sample-recorder.py appears to have been generated by ChatGPT with
Generated by GPT with prompt: ...
comments.However, the code from lines 15 to 50 seems to be a code clone with PaddlePaddle/PaddleSpeech repository and record.py file. The main difference between the two code snippets is the variable name and values. Additionally, the ChatGPT generated code was updated on Mar/31/2023 and the cloned code was updated on Nov/3/2021.
https://github.com/omarzanji/ditto_activation/blob/29dd6d17572072c793448b0c557728d749094e87/sample-recorder.py#L13-L50
There is no license for the ChatGPT-generated code in sample-recorder.py and the repository. However, the cloned code is under Apache-2.0 license. According to the conditions of this Apache-2.0 license :
Due to the ChatGPT-generated code having no license and the cloned code being under the [Apache-2.0](https://github.com/PaddlePaddle/PaddleSpeech?tab=Apache-2.0-1-ov-file#readme) license, there may be a potential license violation.