Spaces:
Runtime error
Runtime error
Linoy Tsaban
commited on
Commit
β’
2bf6d2f
1
Parent(s):
04afdc5
Update inversion_utils.py
Browse files- inversion_utils.py +1 -0
inversion_utils.py
CHANGED
@@ -9,6 +9,7 @@ import yaml
|
|
9 |
import numpy as np
|
10 |
import gradio as gr
|
11 |
|
|
|
12 |
|
13 |
def load_512(image_path, left=0, right=0, top=0, bottom=0, device=None):
|
14 |
if type(image_path) is str:
|
|
|
9 |
import numpy as np
|
10 |
import gradio as gr
|
11 |
|
12 |
+
# This file was copied from the DDPM inversion Repo - https://github.com/inbarhub/DDPM_inversion #
|
13 |
|
14 |
def load_512(image_path, left=0, right=0, top=0, bottom=0, device=None):
|
15 |
if type(image_path) is str:
|