Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -34,7 +34,7 @@ caption_cache = {}
|
|
34 |
|
35 |
def ghiblify(src, lora, mem, progress = gr.Progress()):
|
36 |
progress(0.1, "Preparing image (stage 1 of 3)...")
|
37 |
-
size, _, _ = client.
|
38 |
|
39 |
# Check if the caption is already cached
|
40 |
if src in caption_cache:
|
|
|
34 |
|
35 |
def ghiblify(src, lora, mem, progress = gr.Progress()):
|
36 |
progress(0.1, "Preparing image (stage 1 of 3)...")
|
37 |
+
size, _, _ = client.size_checker(src)
|
38 |
|
39 |
# Check if the caption is already cached
|
40 |
if src in caption_cache:
|