Merge branch 'AUTOMATIC1111:master' into master
This commit is contained in:
commit
993c11549c
@ -6,6 +6,7 @@ import time
|
||||
import git
|
||||
|
||||
from modules import paths, shared
|
||||
from modules.paths_internal import extensions_dir, extensions_builtin_dir
|
||||
|
||||
extensions = []
|
||||
|
||||
|
@ -2,7 +2,7 @@ function gradioApp() {
|
||||
const elems = document.getElementsByTagName('gradio-app')
|
||||
const elem = elems.length == 0 ? document : elems[0]
|
||||
|
||||
elem.getElementById = function(id){ return document.getElementById(id) }
|
||||
if (elem !== document) elem.getElementById = function(id){ return document.getElementById(id) }
|
||||
return elem.shadowRoot ? elem.shadowRoot : elem
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user