Giter VIP home page Giter VIP logo

tldrstory's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

tldrstory's Issues

request "/search" url error with 404

request /search url error with "404 not found"

start service with command CONFIG=sports/api.yml API_CLASS=tldrstory.api.API uvicorn "txtai.api:app"

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

Clarify demo app configuration steps in README

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.

  • clearly specify that the steps 2,3,4 in the readme.md file be performed right above the "sports" directory
  • api.yml may be updated with "path: ./sports/data"

Update to txtai 1.6

Update txtai dependency to v1.6.0. Labels was moved to a different package, which requires changing an import statement.

Instructions on how to use tldrstory

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!

Process is stuck on during API processing

Summary

Hung terminal after running INDEX_SETTINGS=sports/index.yml API_CLASS=tldrstory.api.API uvicorn "txtai.api:app"

Steps to reproduce

(this was run on macOS)

  1. Install wget via homebrew
    brew install wget
  2. Run the commands from readme.md from https://github.com/neuml/tldrstory

#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:
Screen Shot 2020-10-29 at 3 51 19 PM
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

  • Streamlit version: Streamlit, version 0.69.2
  • Python version: Python 3.7.4
  • Using Conda: Conda
  • OS version: macOS Catalina version 10.15.6 (19G2021)
  • Browser version: Version 86.0.4240.80 (Official Build) (x86_64)

How to deploy tldrstory to serverless environment?

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.