mirror of
https://github.com/gradio-app/gradio.git
synced 2025-01-18 10:44:33 +08:00
Restore get_config function for Gallery component (#1614)
Co-authored-by: Ian Gonzalez <ian.gl@protonmail.com>
This commit is contained in:
parent
f1a1e79be4
commit
1334847a22
@ -3268,6 +3268,12 @@ class Gallery(IOComponent):
|
|||||||
}
|
}
|
||||||
return updated_config
|
return updated_config
|
||||||
|
|
||||||
|
def get_config(self):
|
||||||
|
return {
|
||||||
|
"value": self.value,
|
||||||
|
**IOComponent.get_config(self),
|
||||||
|
}
|
||||||
|
|
||||||
def postprocess(self, y):
|
def postprocess(self, y):
|
||||||
"""
|
"""
|
||||||
Parameters:
|
Parameters:
|
||||||
|
Loading…
Reference in New Issue
Block a user