mirror of
https://github.com/gradio-app/gradio.git
synced 2025-01-06 10:25:17 +08:00
fixing test inputs
This commit is contained in:
parent
6bcbde43d7
commit
77eae4534d
@ -1567,9 +1567,6 @@ class Audio(Component):
|
||||
def deserialize(self, x):
|
||||
return processing_utils.decode_base64_to_file(x).name
|
||||
|
||||
def restore_flagged(self, dir, data, encryption_key):
|
||||
return self.restore_flagged_file(dir, data, encryption_key)["data"]
|
||||
|
||||
|
||||
class File(Component):
|
||||
"""
|
||||
|
@ -542,7 +542,6 @@ class TestAudio(unittest.TestCase):
|
||||
audio_input.get_template_context(),
|
||||
{
|
||||
"source": "upload",
|
||||
"optional": False,
|
||||
"name": "audio",
|
||||
"label": "Upload Your Audio",
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user