You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Summarizer application fails after uploading .txt/.pdf/.md documents.
version: 1.3.1
Operating system
Fedora 40, Windows 10 GPU enabled
Installation Method
from ghcr.io/containers/podman-desktop-extension-ai-lab container image
Version
next (development version)
Steps to reproduce
Install summarizer demo through recipe catalog
Verify summarizer app is running in AI Apps section
Open application using Open AI App icon
Trigger summarize on ai-studio README.md
Wait for summary to be generated
Relevant log output
File "/opt/app-root/lib64/python3.11/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 600, in _run_script
exec(code, module.dict)
File "/summarizer/summarizer.py", line 120, in
chunks = chunk_text(text)
^^^^^^^^^^^^^^^^
File "/summarizer/summarizer.py", line 62, in chunk_text
count = json.loads(count)["count"]
~~~~~~~~~~~~~~~~~^^^^^^^^^
Additional context
No response
The text was updated successfully, but these errors were encountered:
jeffmaury
transferred this issue from containers/podman-desktop-extension-ai-lab
Oct 16, 2024
jeffmaury
added a commit
to jeffmaury/ai-lab-recipes
that referenced
this issue
Oct 16, 2024
Bug description
The Summarizer application fails after uploading .txt/.pdf/.md documents.
version: 1.3.1
Operating system
Fedora 40, Windows 10 GPU enabled
Installation Method
from
ghcr.io/containers/podman-desktop-extension-ai-lab
container imageVersion
next (development version)
Steps to reproduce
Wait for summary to be generated
Relevant log output
File "/opt/app-root/lib64/python3.11/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 600, in _run_script
exec(code, module.dict)
File "/summarizer/summarizer.py", line 120, in
chunks = chunk_text(text)
^^^^^^^^^^^^^^^^
File "/summarizer/summarizer.py", line 62, in chunk_text
count = json.loads(count)["count"]
~~~~~~~~~~~~~~~~~^^^^^^^^^
Additional context
No response
The text was updated successfully, but these errors were encountered: