Giter VIP home page Giter VIP logo

lanuage-talk-listen's Issues

视频

WeChat_20230415122351.mp4

谷歌云亚太销售-谈合作

您好,我这边是谷歌云亚太销售,可以为使用谷歌云的所有用户提供大额优惠卷,正常7-8折不等,根据使用的产品和用量会上下调整,有兴趣联系:
TG:@Google_Cloudd
WeChat:_Saitama-

数据库无法连接,飞书事件订阅中请求地址保存不了

大佬你好,我目前碰到2个问题,一个是运行报错如下:似乎是数据库的原因。已经安装了sqlalchemy

sqlite3.OperationalError: unable to open database file

第二个问题是飞书这边事件订阅中的请求地址,我是不是应该把ip换为我自己的ip去保存?那是不是需要先启动服务,才能有回调?
image

感谢大佬开发此项目

ffmpeg

image
请问windows下启动的ffmpeg怎么装?之间下载exe?放在哪?

部署好后报错

image
[2023-04-17 17:23:33,080] ERROR in app: Exception on /feishu/callback [POST]
Traceback (most recent call last):
File "/usr/local/lib/python3.8/dist-packages/flask/app.py", line 2528, in wsgi_app
response = self.full_dispatch_request()
File "/usr/local/lib/python3.8/dist-packages/flask/app.py", line 1825, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/usr/local/lib/python3.8/dist-packages/flask/app.py", line 1823, in full_dispatch_request
rv = self.dispatch_request()
File "/usr/local/lib/python3.8/dist-packages/flask/app.py", line 1799, in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
File "/root/feishu-talk/app.py", line 171, in callback_event_handler
return event_handler(event)
File "/root/feishu-talk/app.py", line 122, in message_receive_event_handler
sougou_generate_audio(resp_text,filepath2)
File "/root/feishu-talk/core/generate_audio.py", line 23, in sougou_generate_audio
audio = AudioSegment.from_file(audio_data, format="mp3")
File "/usr/local/lib/python3.8/dist-packages/pydub/audio_segment.py", line 728, in from_file
info = mediainfo_json(orig_file, read_ahead_limit=read_ahead_limit)
File "/usr/local/lib/python3.8/dist-packages/pydub/utils.py", line 274, in mediainfo_json
res = Popen(command, stdin=stdin_parameter, stdout=PIPE, stderr=PIPE)
File "/usr/lib/python3.8/subprocess.py", line 858, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "/usr/lib/python3.8/subprocess.py", line 1704, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'ffprobe'

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.