hotfix for test (#4173)

* hotfix for test

* removed comment
This commit is contained in:
Abubakar Abid 2023-05-11 16:49:41 -05:00 committed by GitHub
parent 8ba4cceaf9
commit fcf744a4a9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -746,8 +746,8 @@ class TestAPIInfo:
"type": "List[str]",
"description": "List of filepath(s) or URL(s) to files",
}
# Will change to list when we do the next gradio release
assert isinstance(inputs[0]["example_input"], str)
assert isinstance(inputs[0]["example_input"], list)
assert isinstance(inputs[0]["example_input"][0], str)
assert inputs[1]["python_type"] == {
"type": "str",