Add resizeable option to Gradio UI component for better usabilty (#234)
This commit is contained in:
parent
c56d73731d
commit
d5c2ef48e7
|
@ -184,6 +184,7 @@ class GradioUI:
|
||||||
None,
|
None,
|
||||||
"https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/smolagents/mascot_smol.png",
|
"https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/smolagents/mascot_smol.png",
|
||||||
),
|
),
|
||||||
|
resizeable=True,
|
||||||
)
|
)
|
||||||
# If an upload folder is provided, enable the upload feature
|
# If an upload folder is provided, enable the upload feature
|
||||||
if self.file_upload_folder is not None:
|
if self.file_upload_folder is not None:
|
||||||
|
|
Loading…
Reference in New Issue