Spaces:
Build error
Build error
Nupur Kumari
commited on
Commit
•
ddb7b56
1
Parent(s):
dbc579c
update
Browse files
LICENSE
CHANGED
@@ -1,3 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
MIT License
|
2 |
|
3 |
Copyright (c) 2022 hysts
|
|
|
1 |
+
Copyright 2022, Adobe Inc. and its licensors. All rights reserved.
|
2 |
+
|
3 |
+
ADOBE RESEARCH LICENSE
|
4 |
+
|
5 |
+
Adobe grants any person or entity ("you" or "your") obtaining a copy of these certain research materials that are owned by Adobe ("Licensed Materials") a nonexclusive, worldwide, royalty-free, revocable, fully paid license to (A) reproduce, use, modify, and publicly display the Licensed Materials; and (B) redistribute the Licensed Materials, and modifications or derivative works thereof, provided the following conditions are met:
|
6 |
+
|
7 |
+
- The rights granted herein may be exercised for noncommercial research purposes (i.e., academic research and teaching) only. Noncommercial research purposes do not include commercial licensing or distribution, development of commercial products, or any other activity that results in commercial gain.
|
8 |
+
- You may add your own copyright statement to your modifications and/or provide additional or different license terms for use, reproduction, modification, public display, and redistribution of your modifications and derivative works, provided that such license terms limit the use, reproduction, modification, public display, and redistribution of such modifications and derivative works to noncommercial research purposes only.
|
9 |
+
- You acknowledge that Adobe and its licensors own all right, title, and interest in the Licensed Materials.
|
10 |
+
- All copies of the Licensed Materials must include the above copyright notice, this list of conditions, and the disclaimer below.
|
11 |
+
|
12 |
+
Failure to meet any of the above conditions will automatically terminate the rights granted herein.
|
13 |
+
|
14 |
+
THE LICENSED MATERIALS ARE PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. THE ENTIRE RISK AS TO THE USE, RESULTS, AND PERFORMANCE OF THE LICENSED MATERIALS IS ASSUMED BY YOU. ADOBE DISCLAIMS ALL WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, WITH REGARD TO YOUR USE OF THE LICENSED MATERIALS, INCLUDING, BUT NOT LIMITED TO, NONINFRINGEMENT OF THIRD-PARTY RIGHTS. IN NO EVENT WILL ADOBE BE LIABLE FOR ANY ACTUAL, INCIDENTAL, SPECIAL OR CONSEQUENTIAL DAMAGES, INCLUDING WITHOUT LIMITATION, LOSS OF PROFITS OR OTHER COMMERCIAL LOSS, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THE LICENSED MATERIALS, EVEN IF ADOBE HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
|
15 |
+
|
16 |
+
|
17 |
MIT License
|
18 |
|
19 |
Copyright (c) 2022 hysts
|
app.py
CHANGED
@@ -3,6 +3,16 @@
|
|
3 |
|
4 |
The code in this repo is partly adapted from the following repository:
|
5 |
https://huggingface.co/spaces/hysts/LoRA-SD-training
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
6 |
"""
|
7 |
|
8 |
from __future__ import annotations
|
@@ -60,7 +70,7 @@ def show_warning(warning_text: str) -> gr.Blocks:
|
|
60 |
|
61 |
|
62 |
def update_output_files() -> dict:
|
63 |
-
paths = sorted(pathlib.Path('results').glob('*.
|
64 |
paths = [path.as_posix() for path in paths] # type: ignore
|
65 |
return gr.update(value=paths or None)
|
66 |
|
|
|
3 |
|
4 |
The code in this repo is partly adapted from the following repository:
|
5 |
https://huggingface.co/spaces/hysts/LoRA-SD-training
|
6 |
+
MIT License
|
7 |
+
Copyright (c) 2022 hysts
|
8 |
+
|
9 |
+
==========================================================================================
|
10 |
+
|
11 |
+
Adobe’s modifications are Copyright 2022 Adobe Research. All rights reserved.
|
12 |
+
Adobe’s modifications are licensed under the Adobe Research License. To view a copy of the license, visit
|
13 |
+
LICENSE.
|
14 |
+
|
15 |
+
==========================================================================================
|
16 |
"""
|
17 |
|
18 |
from __future__ import annotations
|
|
|
70 |
|
71 |
|
72 |
def update_output_files() -> dict:
|
73 |
+
paths = sorted(pathlib.Path('results').glob('*.bin'))
|
74 |
paths = [path.as_posix() for path in paths] # type: ignore
|
75 |
return gr.update(value=paths or None)
|
76 |
|