Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat/units_from_session #22

Merged
merged 7 commits into from
Apr 26, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
render logo for attribution
JarbasAl committed Apr 25, 2024
commit f448f05c21aa9ecf186598489b67d5d2dd302205
7 changes: 3 additions & 4 deletions __init__.py
Original file line number Diff line number Diff line change
@@ -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,