Git Product home page Git Product logo

Comments (8)

yihong0618 avatar yihong0618 commented on September 26, 2024

hi, 用 python 的版本有什么报错么?

from miservice.

kmq116 avatar kmq116 commented on September 26, 2024

hi, 用 python 的版本有什么报错么?

不好意思 hong 哥,我之前提了个 issue,后来感觉提 issue 有点伸手党,就给关了,然后自己去找解决办法,解决了之后,就想分享下解决办法,所以现在这个 issue 看起来比较不礼貌,抱歉啦
我遇见的问题是这样的
在 windows 下运行,尝试获取 did 的时候,报这个错误
image
#2 (comment)
自己分析是这个 python 脚本在 windows 下的异常,像是个类型错误,自己不熟 py 的语法,然后就没提

from miservice.

yihong0618 avatar yihong0618 commented on September 26, 2024

@kmq116 谢谢,我来研究下。

from miservice.

yihong0618 avatar yihong0618 commented on September 26, 2024

hi, 用 python 的版本有什么报错么?

不好意思 hong 哥,我之前提了个 issue,后来感觉提 issue 有点伸手党,就给关了,然后自己去找解决办法,解决了之后,就想分享下解决办法,所以现在这个 issue 看起来比较不礼貌,抱歉啦 我遇见的问题是这样的 在 windows 下运行,尝试获取 did 的时候,报这个错误 image #2 (comment) 自己分析是这个 python 脚本在 windows 下的异常,像是个类型错误,自己不熟 py 的语法,然后就没提

看起来是没设置 windows 的密码,windows 和 linux 不一致,你可以参考 xiaogpt https://github.com/yihong0618/xiaogpt readme 来设置

from miservice.

kmq116 avatar kmq116 commented on September 26, 2024

@kmq116 谢谢,我来研究下。

后面我获取到 did 之后,在使用 gpt3 的时候,gpt 回复的代码,也报了个类型错误,已经定位到代码的问题是这块,这个函数入参类型错误了,等晚上我再复现下,去 xiaogpt 提个 issue
image
也是一样的 config.gpt_options 在 null 上不存在,大概是这么个异常,能力有限,没法贡献 py 代码
https://github.com/yihong0618/xiaogpt/blob/11b5c3ae3801a810cffb9abf94f43b2f0c7787e6/xiaogpt/xiaogpt.py#L282

from miservice.

yihong0618 avatar yihong0618 commented on September 26, 2024

@kmq116 必要用 gpt3 这个我们可能之后会下了,建议用 chatgpt
python xiaogpt.py --hardware LX06 --account xxxxx--password xxxxx ----use_chatgpt_api --openai_key xxxxx --mute_xiaoai --stream --tts edge

用类似这样的命令试试

from miservice.

kmq116 avatar kmq116 commented on September 26, 2024

@kmq116 必要用 gpt3 这个我们可能之后会下了,建议用 chatgpt python xiaogpt.py --hardware(硬件) LX06 --account xxxxx--password(密码) xxxxx ----use_chatgpt_api --openai_key(关键) xxxxx --mute(静音)_xiaoai --stream(流) --tts edge(边缘)

用类似这样的命令试试

👌ok,我下班去试试

from miservice.

yihong0618 avatar yihong0618 commented on September 26, 2024

先关了哈

from miservice.

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.