gradio 3.41.2 attempt

This commit is contained in:
w-e-w
2023-11-27 20:30:49 +09:00
parent f0f100e67b
commit 08c68820cd
6 changed files with 78 additions and 9 deletions
+1 -1
View File
@@ -61,7 +61,7 @@ def save_pil_to_file(self, pil_image, dir=None, format="png"):
def install_ui_tempdir_override():
"""override save to file function so that it also writes PNG info"""
gradio.components.IOComponent.pil_to_temp_file = save_pil_to_file
# gradio.components.IOComponent.pil_to_temp_file = save_pil_to_file
def on_tmpdir_changed():