gpt4 book ai didi

python - 在 EchoPrint 上使用 ingest/fastingest 时出现 400 Bad Request 错误

转载 作者:行者123 更新时间:2023-12-01 06:09:39 24 4
gpt4 key购买 nike

我正在执行以下操作来启动 codegen/服务器以进行回显打印!

cd echoprint-server/solr/solr
java -Dsolr.solr.home=/home/path/to/echoprint-server/solr/solr/solr/ -
Djava.awt.headless=true -jar start.jar

ttservctl start

python api.py 9090

提取代码位于 http://pastebin.com/8iud70hD

curl http://localhost:9090/ingest -d
"fp_code=<fp_code_here>&track_id=thisone&length=30000"

我收到以下错误 --

127.0.0.1:40197 - - [01/Jul/2011 18:06:33] "HTTP/1.1 POST /ingest" - 400 Bad Request

最佳答案

您想提取很长的代码吗?长度=30000?

认为api调用无法处理太长的代码,所以我直接使用了python调用。您应该尝试遵循以下说明:

https://github.com/echonest/echoprint-server#generating-and-importing-data

关于python - 在 EchoPrint 上使用 ingest/fastingest 时出现 400 Bad Request 错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/6551832/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com