mirror of
https://github.com/gradio-app/gradio.git
synced 2025-01-24 10:54:04 +08:00
fix tests for multiple file input
This commit is contained in:
parent
e0a570ef8f
commit
c48abe3161
@ -118,7 +118,7 @@ class TestFile(unittest.TestCase):
|
||||
|
||||
iface = gr.Interface(
|
||||
get_size_of_file, "file", "number")
|
||||
self.assertEqual(iface.process([x_file])[0], [16362])
|
||||
self.assertEqual(iface.process([[x_file]])[0], [16362])
|
||||
|
||||
|
||||
class TestDataframe(unittest.TestCase):
|
||||
|
Loading…
Reference in New Issue
Block a user