Skip to content

Commit

Permalink
render logo for attribution
Browse files Browse the repository at this point in the history
  • Loading branch information
JarbasAl committed Apr 25, 2024
1 parent 96f6681 commit f448f05
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions __init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -270,10 +270,9 @@ def CQS_action(self, phrase: str, data: dict):
""" If selected show gui """
# generate image for the query after skill was selected for speed
image = self.wolfie.visual_answer(phrase, context=data)
if image:
self.gui["wolfram_image"] = image
# scrollable full result page
self.gui.show_page("wolf", override_idle=45)
self.gui["wolfram_image"] = image or f"{self.root_dir}/res/logo.png"
# scrollable full result page
self.gui.show_page("wolf", override_idle=45)

# wolfram integration
def ask_the_wolf(self, query: str,
Expand Down

0 comments on commit f448f05

Please sign in to comment.