Spaces:
Running
Running
/ issue fix
Browse files
comic_panel_extractor/server.py
CHANGED
|
@@ -117,7 +117,7 @@ async def convert_comic(file: UploadFile = File(...)):
|
|
| 117 |
print(f"[DEBUG] Setting config.output_folder to: {config.output_folder}")
|
| 118 |
|
| 119 |
_, _, all_panel_path = ComicPanelExtractor(config, reset=False).extract_panels_from_comic()
|
| 120 |
-
all_panel_path = [f'/{base_output_folder}{path.split(output_folder)[-1]}' for path in all_panel_path]
|
| 121 |
|
| 122 |
return {
|
| 123 |
"success": True,
|
|
|
|
| 117 |
print(f"[DEBUG] Setting config.output_folder to: {config.output_folder}")
|
| 118 |
|
| 119 |
_, _, all_panel_path = ComicPanelExtractor(config, reset=False).extract_panels_from_comic()
|
| 120 |
+
all_panel_path = [f'/{base_output_folder}/{path.split(output_folder)[-1]}' for path in all_panel_path]
|
| 121 |
|
| 122 |
return {
|
| 123 |
"success": True,
|