Fix Model3D template (#6326)

* Add test

* add changeset

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
This commit is contained in:
Freddy Boulton 2023-11-07 18:06:09 -05:00 committed by GitHub
parent 25e380078a
commit ed546f2e13
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 0 deletions

View File

@ -0,0 +1,5 @@
---
"gradio": patch
---
feat:Fix Model3D template

View File

@ -191,6 +191,7 @@ OVERRIDES = {
),
"Model3D": ComponentFiles(
template="Model3D",
js_dir="model3D",
demo_code=textwrap.dedent(
"""
with gr.Blocks() as demo:

View File

@ -31,6 +31,7 @@ from gradio.cli.commands.components.show import _show
"UploadButton",
"JSON",
"FileExplorer",
"Model3D",
],
)
def test_template_override_component(template, tmp_path):