EndlessSora commited on
Commit
8141a0e
·
1 Parent(s): 5729c92
Files changed (3) hide show
  1. README.md +3 -3
  2. app.py +1 -1
  3. requirements.txt +2 -2
README.md CHANGED
@@ -11,8 +11,8 @@ license: apache-2.0
11
  short_description: Flexible Photo Recrafting While Preserving Your Identity
12
  ---
13
 
14
- Some images in this demo are from public domains or generated by models. These pictures are intended solely to show the capabilities of our research. If you have any concerns, please contact us, and we will promptly remove any inappropriate content.
15
 
16
- The code in this demo is licensed under the [Apache License 2.0](./LICENSE), and our model is released under the [Creative Commons Attribution-NonCommercial 4.0 International Public License](https://creativecommons.org/licenses/by-nc/4.0/legalcode) for academic research purposes only. Any manual or automatic downloading of the face models from [InsightFace](https://github.com/deepinsight/insightface), the [FLUX.1-dev](https://huggingface.co/black-forest-labs/FLUX.1-dev) base model, LoRAs ([Realism](https://civitai.com/models/631986?modelVersionId=706528) and [Anti-blur](https://civitai.com/models/675581/anti-blur-flux-lora)), *etc.*, must follow their original licenses and be used only for academic research purposes.
17
 
18
- This research aims to positively impact the field of Generative AI. Users are granted the freedom to create images using this tool, but they must comply with local laws and use it responsibly. The developers do not assume any responsibility for potential misuse by users.
 
11
  short_description: Flexible Photo Recrafting While Preserving Your Identity
12
  ---
13
 
14
+ The images used in this demo are sourced from consented subjects or generated by the models. These pictures are intended solely to show the capabilities of our research. If you have any concerns, please contact us, and we will promptly remove any inappropriate content.
15
 
16
+ The use of the released code, model, and demo must strictly adhere to the respective licenses. The code in this demo is licensed under the [Apache License 2.0](./LICENSE), and our model is released under the [Creative Commons Attribution-NonCommercial 4.0 International Public License](https://creativecommons.org/licenses/by-nc/4.0/legalcode) for academic research purposes only. Any manual or automatic downloading of the face models from [InsightFace](https://github.com/deepinsight/insightface), the [FLUX.1-dev](https://huggingface.co/black-forest-labs/FLUX.1-dev) base model, LoRAs ([Realism](https://civitai.com/models/631986?modelVersionId=706528) and [Anti-blur](https://civitai.com/models/675581/anti-blur-flux-lora)), *etc.*, must follow their original licenses and be used only for academic research purposes.
17
 
18
+ This research aims to positively impact the field of Generative AI. Any usage of this method must be responsible and comply with local laws. The developers do not assume any responsibility for any potential misuse. We added the "AI Generated" watermark for enhanced safety.
app.py CHANGED
@@ -333,7 +333,7 @@ with gr.Blocks() as demo:
333
  The images used in this demo are sourced from consented subjects or generated by the models. These pictures are intended solely to show the capabilities of our research. If you have any concerns, please contact us, and we will promptly remove any inappropriate content.
334
 
335
  The use of the released code, model, and demo must strictly adhere to the respective licenses.
336
- Our code is released under the [Apache 2.0 License](https://github.com/bytedance/InfiniteYou/blob/main/LICENSE),
337
  and our model is released under the [Creative Commons Attribution-NonCommercial 4.0 International Public License](https://huggingface.co/ByteDance/InfiniteYou/blob/main/LICENSE)
338
  for academic research purposes only. Any manual or automatic downloading of the face models from [InsightFace](https://github.com/deepinsight/insightface),
339
  the [FLUX.1-dev](https://huggingface.co/black-forest-labs/FLUX.1-dev) base model, LoRAs, *etc.*, must follow their original licenses and be used only for academic research purposes.
 
333
  The images used in this demo are sourced from consented subjects or generated by the models. These pictures are intended solely to show the capabilities of our research. If you have any concerns, please contact us, and we will promptly remove any inappropriate content.
334
 
335
  The use of the released code, model, and demo must strictly adhere to the respective licenses.
336
+ Our code is released under the [Apache License 2.0](https://github.com/bytedance/InfiniteYou/blob/main/LICENSE),
337
  and our model is released under the [Creative Commons Attribution-NonCommercial 4.0 International Public License](https://huggingface.co/ByteDance/InfiniteYou/blob/main/LICENSE)
338
  for academic research purposes only. Any manual or automatic downloading of the face models from [InsightFace](https://github.com/deepinsight/insightface),
339
  the [FLUX.1-dev](https://huggingface.co/black-forest-labs/FLUX.1-dev) base model, LoRAs, *etc.*, must follow their original licenses and be used only for academic research purposes.
requirements.txt CHANGED
@@ -9,11 +9,11 @@ insightface==0.7.3
9
  numpy==1.26.4
10
  onnxruntime==1.19.2
11
  opencv-python==4.11.0.86
 
12
  pillow==10.4.0
13
  pillow-avif-plugin==1.5.0
14
  pillow-heif==0.21.0
15
  sentencepiece==0.2.0
16
  torch==2.2.2
17
  torchvision==0.17.2
18
- transformers==4.48.0
19
- peft==0.14.0
 
9
  numpy==1.26.4
10
  onnxruntime==1.19.2
11
  opencv-python==4.11.0.86
12
+ peft==0.14.0
13
  pillow==10.4.0
14
  pillow-avif-plugin==1.5.0
15
  pillow-heif==0.21.0
16
  sentencepiece==0.2.0
17
  torch==2.2.2
18
  torchvision==0.17.2
19
+ transformers==4.48.0