mirror of
https://github.com/gradio-app/gradio.git
synced 2025-01-12 10:34:32 +08:00
fixed static issue
This commit is contained in:
parent
3b8dace47a
commit
59be365988
@ -34,6 +34,7 @@ STATIC_PATH_LIB = pkg_resources.resource_filename("gradio", "static/")
|
||||
|
||||
app = Flask(__name__,
|
||||
template_folder=STATIC_TEMPLATE_LIB,
|
||||
static_url_path="/static/",
|
||||
static_folder=STATIC_PATH_LIB)
|
||||
app.app_globals = {}
|
||||
|
||||
|
@ -34,6 +34,7 @@ STATIC_PATH_LIB = pkg_resources.resource_filename("gradio", "static/")
|
||||
|
||||
app = Flask(__name__,
|
||||
template_folder=STATIC_TEMPLATE_LIB,
|
||||
static_url_path="/static/",
|
||||
static_folder=STATIC_PATH_LIB)
|
||||
app.app_globals = {}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user