init
Browse files
app.py
CHANGED
|
@@ -124,7 +124,7 @@ def run(
|
|
| 124 |
opt,
|
| 125 |
detector,
|
| 126 |
predictor,
|
| 127 |
-
) -> tuple[PIL.Image.Image,PIL.Image.Image
|
| 128 |
|
| 129 |
dataroot = 'images/' + compress_UUID()
|
| 130 |
opt.dataroot = os.path.join(dataroot, 'src/')
|
|
@@ -237,12 +237,7 @@ def main():
|
|
| 237 |
gr.outputs.Image(
|
| 238 |
type='pil',
|
| 239 |
label='Result'),
|
| 240 |
-
|
| 241 |
-
type='pil',
|
| 242 |
-
label='Result'),
|
| 243 |
-
gr.outputs.Image(
|
| 244 |
-
type='pil',
|
| 245 |
-
label='Result'),
|
| 246 |
],
|
| 247 |
# examples=examples,
|
| 248 |
theme=args.theme,
|
|
|
|
| 124 |
opt,
|
| 125 |
detector,
|
| 126 |
predictor,
|
| 127 |
+
) -> tuple[PIL.Image.Image,PIL.Image.Image]:
|
| 128 |
|
| 129 |
dataroot = 'images/' + compress_UUID()
|
| 130 |
opt.dataroot = os.path.join(dataroot, 'src/')
|
|
|
|
| 237 |
gr.outputs.Image(
|
| 238 |
type='pil',
|
| 239 |
label='Result'),
|
| 240 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 241 |
],
|
| 242 |
# examples=examples,
|
| 243 |
theme=args.theme,
|