mirror of
https://github.com/gradio-app/gradio.git
synced 2025-04-06 12:30:29 +08:00
auth issue for js docs
This commit is contained in:
parent
f201555395
commit
54f9a53c34
@ -257,7 +257,9 @@ def api_docs():
|
||||
"input_types_doc": input_types_doc,
|
||||
"output_types_doc": output_types_doc,
|
||||
"sample_inputs": sample_inputs,
|
||||
"auth": app.interface.auth
|
||||
"auth": app.interface.auth,
|
||||
"local_login_url": app.interface.local_url + "login",
|
||||
"local_api_url": app.interface.local_url + "api/predict"
|
||||
}
|
||||
return render_template("api_docs.html", **docs)
|
||||
|
||||
|
File diff suppressed because one or more lines are too long
Loading…
x
Reference in New Issue
Block a user