Attempt at making interface restart more robust
This commit is contained in:
parent
259020a0be
commit
824fa8fc0e
1 changed files with 1 additions and 0 deletions
|
@ -976,4 +976,5 @@ if __name__ == "__main__":
|
|||
if shared.need_restart:
|
||||
shared.need_restart = False
|
||||
shared.gradio['interface'].close()
|
||||
time.sleep(0.5)
|
||||
create_interface()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue