mirror of
https://github.com/gradio-app/gradio.git
synced 2024-12-21 02:19:59 +08:00
return statement fix
This commit is contained in:
parent
d73b4ec1c8
commit
af7d0c0655
@ -495,9 +495,9 @@ class Interface:
|
||||
|
||||
def explain(self, input):
|
||||
if self.explain_by == "default":
|
||||
self.simple_explanation(input)
|
||||
return self.simple_explanation(input)
|
||||
else:
|
||||
self.explain_by(input)
|
||||
return self.explain_by(input)
|
||||
|
||||
def reset_all():
|
||||
for io in Interface.get_instances():
|
||||
|
Loading…
Reference in New Issue
Block a user