diff --git a/gradio/interface.py b/gradio/interface.py index fbd1640f57..f2279643f6 100644 --- a/gradio/interface.py +++ b/gradio/interface.py @@ -31,7 +31,7 @@ class Interface: def __init__(self, fn, inputs, outputs, saliency=None, verbose=False, live=False, show_input=True, show_output=True, load_fn=None, capture_session=False, title=None, description=None, - server_name=LOCALHOST_IP): + thumbnail=None, server_name=LOCALHOST_IP): """ :param fn: a function that will process the input panel data from the interface and return the output panel data. :param inputs: a string or `AbstractInput` representing the input interface. @@ -82,6 +82,7 @@ class Interface: self.server_name = server_name self.title = title self.description = description + self.thumbnail = thumbnail def get_config_file(self): return { @@ -97,6 +98,7 @@ class Interface: "show_output": self.show_output, "title": self.title, "description": self.description, + "thumbnail": self.thumbnail } def process(self, raw_input):