Spaces:
Build error
Build error
Update trainer.py
Browse files- trainer.py +1 -1
trainer.py
CHANGED
@@ -10,7 +10,7 @@ import gradio as gr
|
|
10 |
import PIL.Image
|
11 |
import torch
|
12 |
|
13 |
-
os.environ['PYTHONPATH'] = f'
|
14 |
|
15 |
|
16 |
def pad_image(image: PIL.Image.Image) -> PIL.Image.Image:
|
|
|
10 |
import PIL.Image
|
11 |
import torch
|
12 |
|
13 |
+
os.environ['PYTHONPATH'] = f'custom-diffusion:{os.getenv("PYTHONPATH", "")}'
|
14 |
|
15 |
|
16 |
def pad_image(image: PIL.Image.Image) -> PIL.Image.Image:
|