Pressing "stop" while the generator is not running will cause it to halt with error the next time that it is ran. #132

Closed
opened 2023-03-14 06:08:08 +00:00 by psammites · 1 comment

Console message is "Exception: Kill signal detected". Button should probably be disabled while the generator isn't running?

Console message is "Exception: Kill signal detected". Button should probably be disabled while the generator isn't running?
psammites changed title from Pressing "stop" while the generator is not running will cause it to halt with the next time that it is ran. to Pressing "stop" while the generator is not running will cause it to halt with error the next time that it is ran. 2023-03-14 06:08:22 +00:00
Author

Another minor thing: "Reset to Default" always causes an error:

Traceback (most recent call last):
  File "/home/sneed/ai-voice-cloning/venv/lib/python3.10/site-packages/gradio/blocks.py", line 947, in postprocess_data
    if predictions[i] is components._Keywords.FINISHED_ITERATING:
KeyError: 0

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/sneed/ai-voice-cloning/venv/lib/python3.10/site-packages/gradio/routes.py", line 384, in run_predict
    output = await app.get_blocks().process_api(
  File "/home/sneed/ai-voice-cloning/venv/lib/python3.10/site-packages/gradio/blocks.py", line 1035, in process_api
    data = self.postprocess_data(fn_index, result["prediction"], state)
  File "/home/sneed/ai-voice-cloning/venv/lib/python3.10/site-packages/gradio/blocks.py", line 951, in postprocess_data
    raise ValueError(
ValueError: Number of output components does not match number of values returned from from function reset_generation_settings
Another minor thing: "Reset to Default" always causes an error: ```` Traceback (most recent call last): File "/home/sneed/ai-voice-cloning/venv/lib/python3.10/site-packages/gradio/blocks.py", line 947, in postprocess_data if predictions[i] is components._Keywords.FINISHED_ITERATING: KeyError: 0 During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/sneed/ai-voice-cloning/venv/lib/python3.10/site-packages/gradio/routes.py", line 384, in run_predict output = await app.get_blocks().process_api( File "/home/sneed/ai-voice-cloning/venv/lib/python3.10/site-packages/gradio/blocks.py", line 1035, in process_api data = self.postprocess_data(fn_index, result["prediction"], state) File "/home/sneed/ai-voice-cloning/venv/lib/python3.10/site-packages/gradio/blocks.py", line 951, in postprocess_data raise ValueError( ValueError: Number of output components does not match number of values returned from from function reset_generation_settings ````
mrq referenced this issue from a commit 2023-03-14 18:46:31 +00:00
mrq closed this issue 2023-03-14 18:46:31 +00:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: mrq/ai-voice-cloning#132
No description provided.