neuml / tldrstory Goto Github PK
View Code? Open in Web Editor NEWπ Semantic search for headlines and story text
License: Apache License 2.0
π Semantic search for headlines and story text
License: Apache License 2.0
INFO: 192.168.137.1:4392 - "GET /search?query=Basketball&limit=100&filters=fact%3Asentiment&fact=0.0%3A1.0&sentiment=0.0%3A1.0 HTTP/1.1" 500 Internal Server Error
ERROR: Exception in ASGI application
INFO: 127.0.0.1:47414 - "GET /search?query=Latest&limit=100&topic=1&filters=fact%3Asentiment&fact=0.0%3A1.0&sentiment=0.0%3A1.0 HTTP/1.1" 404 Not Found
From @csheargm as mentioned this comment: #5 (comment)
By the way, there was another issue with api.yml file that was downloaded from this command "wget https://raw.githubusercontent.com/neuml/tldrstory/master/apps/sports/api.yml -O sports/api.yml" in the readme.md file.
This file specifies "path: /data/sources/sports", which in my case, would be "./sports/data", if I start the command in my "tldrstory" directory because "sports" was installed in my home tldrstory directory.
New external custom sources should be able to be defined and developed without having to add to the core tldrstory framework.
Update to txtai 3.2 which now has some components as optional.
Update txtai dependency to v1.6.0. Labels was moved to a different package, which requires changing an import statement.
tldrstory is a great package, it shows the power of AI in a few lines of code. The readme.md file has an installation section, but it would be great to have a step by step instruction on how to set up and run this package. Thank you again for the great package!
Hi @davidmezzetti,
This looks great, thanks!
I was wondering if is possible to configure this by using my own list of headlines? I can pierce the code if necessary, but a few hints where to start would be great.
Hung terminal after running INDEX_SETTINGS=sports/index.yml API_CLASS=tldrstory.api.API uvicorn "txtai.api:app"
(this was run on macOS)
brew install wget
#Expected behavior
As shown in https://github.com/neuml/tldrstory
#Actual behavior
Everything from 1. Download the βSports Newsβ application configuration to 2. Start the indexing process works as expected. Terminal is hung after 3, I can type, enter commands, but the process is stuck on step 3. Start the API process. Log is attached below. Note that step 1 and 2 has been run before:
bugreport1.txt
Not sure if of any value, I messed around and entered http://127.0.0.1:8000 into my browser, I received:
which prompt me to believe that the terminal is not hung, but the process is just stuck on API processing
#Is this a regression?
No. This issue has been here since the start.
#Debug info
Fix breaking changes and add txtai 2.0 as a dependency.
Hi, I was wondering if there was any recommended way to deploy to a free tier cloud environment such as heroku or google cloud platform.
I tried my best, but the combination of running the api backend and trying to dockerize tldrstory has me stumped.
I'm guessing the recommended way is to have a virtual machine with a GPU.
start command streamlit run sports/app.py sports/app.yml "Sports" "π" error log with:
AttributeError: module 'streamlit' has no attribute 'beta_set_page_config'
streamlit version info:
# pip show streamlit
Name: streamlit
Version: 0.86.0
A declarative, efficient, and flexible JavaScript library for building user interfaces.
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. πππ
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google β€οΈ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.