Coder Social home page Coder Social logo

Comments (4)

jbroeckling avatar jbroeckling commented on May 24, 2024

seems like some protocol from "resources.snips.ai" is expired. Is there a way someone could fresh that up ?

from snips-nlu.

rtkay123 avatar rtkay123 commented on May 24, 2024

Any luck here? I also need the other entities :(

from snips-nlu.

jbroeckling avatar jbroeckling commented on May 24, 2024

Any luck here? I also need the other entities :(

so I made following UNSAFE steps to get those:

  1. go to the installed Snips Folder, e.g venv/lib/python3.9/site-packages/snips_nlu/cli/ and here you want to change the utils.py. In the "get_json" function you can change
    r = requests.get(url) int r = requests.get(url, verify= False)

This tells request it should ignore false and expired protocols. THIS IS PROBABLY UNSAFE. It can be used for attacks or what so ever.

  1. The second step for downloading the resources is telling pip that the unsafe protocol is okay. I did that with following command:

pip config set global.trusted-host "resources.snips.ai" --trusted-host=https://resources.snips.ai/

  1. After that the known command to download the ressources should work.

These things are very likely to be UNSAFE!!! and to update the protocol should be done.

from snips-nlu.

rtkay123 avatar rtkay123 commented on May 24, 2024

Any luck here? I also need the other entities :(

so I made following UNSAFE steps to get those:

1. go to the installed Snips Folder, e.g venv/lib/python3.9/site-packages/snips_nlu/cli/  and here you want to change the utils.py. In the "get_json" function you can change
   r = requests.get(url) int r = requests.get(url, verify= False)

This tells request it should ignore false and expired protocols. THIS IS PROBABLY UNSAFE. It can be used for attacks or what so ever.

2. The second step for downloading the resources is telling pip that the unsafe protocol is okay. I did that with following command:

pip config set global.trusted-host "resources.snips.ai" --trusted-host=https://resources.snips.ai/

3. After that the known command to download the ressources should work.

These things are very likely to be UNSAFE!!! and to update the protocol should be done.

Thanks

from snips-nlu.

Related Issues (20)

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.