fix deprecation
Browse files
src/nlp_circle_demo/wrapped_gradio_objects.py
CHANGED
@@ -73,7 +73,7 @@ class GradioInterfaceWrapper(WrappedGradioObject):
|
|
73 |
def create_interface(cls, name, title, description, examples=None):
|
74 |
"""Creates Gradio-Element containing an interface."""
|
75 |
description = cls._prepend_link_to_description(name, title, description)
|
76 |
-
interface = gr.
|
77 |
name,
|
78 |
title=None, # Having the Tab-Name is sufficient.
|
79 |
description=description,
|
|
|
73 |
def create_interface(cls, name, title, description, examples=None):
|
74 |
"""Creates Gradio-Element containing an interface."""
|
75 |
description = cls._prepend_link_to_description(name, title, description)
|
76 |
+
interface = gr.load(
|
77 |
name,
|
78 |
title=None, # Having the Tab-Name is sufficient.
|
79 |
description=description,
|