Spaces:
Sleeping
Sleeping
Update src/nlp_circle_demo/wrapped_gradio_objects.py
Browse files
src/nlp_circle_demo/wrapped_gradio_objects.py
CHANGED
@@ -27,7 +27,7 @@ class GradioInterfaceWrapper(WrappedGradioObject):
|
|
27 |
def create_interface(cls, name, title, description, examples=None):
|
28 |
"""Creates Gradio-Element containing an interface."""
|
29 |
description = cls._prepend_link_to_description(name, title, description)
|
30 |
-
interface = gr.load(
|
31 |
name,
|
32 |
title=None, # Having the Tab-Name is sufficient.
|
33 |
description=description,
|
|
|
27 |
def create_interface(cls, name, title, description, examples=None):
|
28 |
"""Creates Gradio-Element containing an interface."""
|
29 |
description = cls._prepend_link_to_description(name, title, description)
|
30 |
+
interface = gr.Interface.load(
|
31 |
name,
|
32 |
title=None, # Having the Tab-Name is sufficient.
|
33 |
description=description,
|