Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,8 +1,8 @@
|
|
| 1 |
#!/usr/bin/env python
|
| 2 |
-
"""Unofficial demo app for https://github.com/
|
| 3 |
|
| 4 |
The code in this repo is partly adapted from the following repository:
|
| 5 |
-
https://huggingface.co/spaces/
|
| 6 |
The license of the original code is MIT, which is specified in the README.md.
|
| 7 |
"""
|
| 8 |
|
|
@@ -18,10 +18,10 @@ from inference import InferencePipeline
|
|
| 18 |
from trainer import Trainer
|
| 19 |
from uploader import upload
|
| 20 |
|
| 21 |
-
TITLE = '#
|
| 22 |
-
DESCRIPTION = 'This is an unofficial demo for [https://github.com/
|
| 23 |
|
| 24 |
-
ORIGINAL_SPACE_ID = '
|
| 25 |
SPACE_ID = os.getenv('SPACE_ID', ORIGINAL_SPACE_ID)
|
| 26 |
SHARED_UI_WARNING = f'''# Attention - This Space doesn't work in this shared UI. You can duplicate and use it with a paid private T4 GPU.
|
| 27 |
|
|
|
|
| 1 |
#!/usr/bin/env python
|
| 2 |
+
"""Unofficial demo app for https://github.com/adobe-research/custom-diffusion.
|
| 3 |
|
| 4 |
The code in this repo is partly adapted from the following repository:
|
| 5 |
+
https://huggingface.co/spaces/hysts/LoRA-SD-training
|
| 6 |
The license of the original code is MIT, which is specified in the README.md.
|
| 7 |
"""
|
| 8 |
|
|
|
|
| 18 |
from trainer import Trainer
|
| 19 |
from uploader import upload
|
| 20 |
|
| 21 |
+
TITLE = '# Custom Diffusion + StableDiffusion Training UI'
|
| 22 |
+
DESCRIPTION = 'This is an unofficial demo for [https://github.com/adobe-research/custom-diffusion](https://github.com/adobe-research/custom-diffusion).'
|
| 23 |
|
| 24 |
+
ORIGINAL_SPACE_ID = 'nupurkmr9/custom-diffusion'
|
| 25 |
SPACE_ID = os.getenv('SPACE_ID', ORIGINAL_SPACE_ID)
|
| 26 |
SHARED_UI_WARNING = f'''# Attention - This Space doesn't work in this shared UI. You can duplicate and use it with a paid private T4 GPU.
|
| 27 |
|