fixed static issue

This commit is contained in:
Ali Abid 2020-09-23 11:49:01 -07:00
parent 3b8dace47a
commit 59be365988
2 changed files with 2 additions and 0 deletions

View File

@ -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 = {}

View File

@ -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 = {}