Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot process all to save caption files, manual save one by one only #47

Open
revolvedai opened this issue Feb 29, 2024 · 0 comments
Open

Comments

@revolvedai
Copy link

I was not able to batch save all captions, I could only save them manually one by one by hitting "save caption".

I also noticed that despite it appearing like you can edit the text and save the edited caption, you cannot do so. Not sure if bug or what, but that feature would be nice.

When completing a "Process All" on a directory, got a traceback, maybe related?

Traceback (most recent call last):
File "E:\SD\stable-diffusion-webui\venv\lib\site-packages\gradio\routes.py", line 488, in run_predict
output = await app.get_blocks().process_api(
File "E:\SD\stable-diffusion-webui\venv\lib\site-packages\gradio\blocks.py", line 1431, in process_api
result = await self.call_function(
File "E:\SD\stable-diffusion-webui\venv\lib\site-packages\gradio\blocks.py", line 1103, in call_function
prediction = await anyio.to_thread.run_sync(
File "E:\SD\stable-diffusion-webui\venv\lib\site-packages\anyio\to_thread.py", line 33, in run_sync
return await get_asynclib().run_sync_in_worker_thread(
File "E:\SD\stable-diffusion-webui\venv\lib\site-packages\anyio_backends_asyncio.py", line 877, in run_sync_in_worker_thread
return await future
File "E:\SD\stable-diffusion-webui\venv\lib\site-packages\anyio_backends_asyncio.py", line 807, in run
result = context.run(func, *args)
File "E:\SD\stable-diffusion-webui\venv\lib\site-packages\gradio\utils.py", line 707, in wrapper
response = f(*args, **kwargs)
File "E:\SD\stable-diffusion-webui\modules\call_queue.py", line 114, in f
res[-1] += f"

Time taken: {elapsed_text}

{vram_html}
"
TypeError: unsupported operand type(s) for +=: 'dict' and 'str'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant