Spaces:
Runtime error
Runtime error
artificialguybr
commited on
Commit
•
abf8eed
1
Parent(s):
404edfc
Update app.py
Browse files
app.py
CHANGED
@@ -7,17 +7,13 @@ import os
|
|
7 |
import logging
|
8 |
import time
|
9 |
from tqdm import tqdm
|
|
|
10 |
|
11 |
# Placeholder class for processed images
|
12 |
class SomeClass:
|
13 |
def __init__(self):
|
14 |
self.images = []
|
15 |
|
16 |
-
# Import your existing modules
|
17 |
-
from pixelart import Script as PixelArtScript
|
18 |
-
from postprocessing_pixelart import ScriptPostprocessingUpscale
|
19 |
-
from utils import downscale_image, limit_colors, resize_image, convert_to_grayscale, convert_to_black_and_white
|
20 |
-
|
21 |
with open('loras.json', 'r') as f:
|
22 |
loras = json.load(f)
|
23 |
|
|
|
7 |
import logging
|
8 |
import time
|
9 |
from tqdm import tqdm
|
10 |
+
from image_processing import downscale_image, limit_colors, resize_image, convert_to_grayscale, convert_to_black_and_white
|
11 |
|
12 |
# Placeholder class for processed images
|
13 |
class SomeClass:
|
14 |
def __init__(self):
|
15 |
self.images = []
|
16 |
|
|
|
|
|
|
|
|
|
|
|
17 |
with open('loras.json', 'r') as f:
|
18 |
loras = json.load(f)
|
19 |
|