miaoshouai / miaoshouai-assistant

MiaoshouAI Assistant for Automatic1111 Webui
Apache License 2.0
314 stars 25 forks source link

An error appears when clearing vram #78

Open SwShard opened 2 months ago

SwShard commented 2 months ago

An error appears in the console when the vram is forced or automatically cleared. Tried without other extensions, venv cleared every time. I also tried reinstalling the extension itself. The sd version from a1111 is the latest. There are no errors when configuring venv.


Traceback (most recent call last):
  File "D:\NeuroTech\stable-diffusion-webui\venvWin\lib\site-packages\gradio\routes.py", line 488, in run_predict
    output = await app.get_blocks().process_api(
  File "D:\NeuroTech\stable-diffusion-webui\venvWin\lib\site-packages\gradio\blocks.py", line 1434, in process_api
    data = self.postprocess_data(fn_index, result["prediction"], state)
  File "D:\NeuroTech\stable-diffusion-webui\venvWin\lib\site-packages\gradio\blocks.py", line 1335, in postprocess_data
    prediction_value = block.postprocess(prediction_value)
  File "D:\NeuroTech\stable-diffusion-webui\venvWin\lib\site-packages\gradio\components\markdown.py", line 73, in postprocess
    unindented_y = inspect.cleandoc(y)
  File "C:\Users\Shard\AppData\Local\Programs\Python\Python310\lib\inspect.py", line 750, in cleandoc
    lines = doc.expandtabs().split('\n')
AttributeError: 'Markdown' object has no attribute 'expandtabs'