Skip to content

Gradio interface unusable in Windows 11 #7

@simonshakespeare-cyber

Description

@simonshakespeare-cyber

Rather painful to find the interface doesn't work after spending so long to get it to build for Windows 11 (as an aside: your build instructions are not very helpful and your requirements.txt is ordered alphabetically rather than in order of dependency, and python version is too old for modern GPUs, etc.)

Running in a Conda env, and attempting to user the gradio interface to generate anything results in the following type of error. The sliders are set at sensible values (as instructed) - and there is no control or slider with a value of 46, so it's a mystery why there is a random doubling of { 'Number of Frames' -1) where a value of 24 was set

Traceback (most recent call last):
File "C:\Users\simon\miniconda3\envs\tooncomposer\Lib\site-packages\gradio\queueing.py", line 626, in process_events
response = await route_utils.call_process_api(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\simon\miniconda3\envs\tooncomposer\Lib\site-packages\gradio\route_utils.py", line 350, in call_process_api
output = await app.get_blocks().process_api(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\simon\miniconda3\envs\tooncomposer\Lib\site-packages\gradio\blocks.py", line 2246, in process_api
inputs = await self.preprocess_data(
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\simon\miniconda3\envs\tooncomposer\Lib\site-packages\gradio\blocks.py", line 1908, in preprocess_data
processed_input.append(block.preprocess(inputs_cached))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\simon\miniconda3\envs\tooncomposer\Lib\site-packages\gradio\components\slider.py", line 155, in preprocess
Number.raise_if_out_of_bounds(payload, self.minimum, self.maximum)
File "C:\Users\simon\miniconda3\envs\tooncomposer\Lib\site-packages\gradio\components\number.py", line 131, in raise_if_out_of_bounds
raise Error(f"Value {num} is greater than maximum value {maximum}.")
gradio.exceptions.Error: 'Value 46 is greater than maximum value 23.'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions