diff options
author | AUTOMATIC <16777216c@gmail.com> | 2022-11-02 09:47:53 +0300 |
---|---|---|
committer | AUTOMATIC <16777216c@gmail.com> | 2022-11-02 09:48:02 +0300 |
commit | 95c6308ccd2e075d1fb804f5b98a4f0b07b87b7d (patch) | |
tree | 6d76338895052fe2e1769699ee630fef5477b85c /modules/ui.py | |
parent | 65522ff157e4be4095a99421da04ecb0749824ac (diff) |
switch to gradio 3.8
Diffstat (limited to 'modules/ui.py')
-rw-r--r-- | modules/ui.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/modules/ui.py b/modules/ui.py index a94f46ea..45cd8c3f 100644 --- a/modules/ui.py +++ b/modules/ui.py @@ -1572,8 +1572,7 @@ def create_ui(wrap_gradio_gpu_call): reload_script_bodies.click(
fn=reload_scripts,
inputs=[],
- outputs=[],
- _js='function(){}'
+ outputs=[]
)
def request_restart():
@@ -1585,7 +1584,7 @@ def create_ui(wrap_gradio_gpu_call): fn=request_restart,
inputs=[],
outputs=[],
- _js='function(){restart_reload()}'
+ _js='restart_reload'
)
if column is not None:
|