liunux4odoo
liunux4odoo
> 您好,感谢您对本项目做出的贡献,请问可否将pr发起至dev分支,方便与其他功能一起在下一版本中发布。 抱歉,对pr的流程还不是太熟悉
> 您好,目前streamlit已经推出了官方的chat组件,是否有兴趣一起用官方组件完成基于streamlit的webui demo呢? 我用最新的streamlit message elements重写了Demo,但是因依赖冲突无法运行: streamlit从1.24.0版本才有st.chat_message,但这个版本要求protobuf>=4,而icetk要求protobuf
> streamlit 打不开请问咋解呢,而且peotouf必须是3.20版本的 你streamlit版本是多少?streamlit从1.23开始使用高版本protobuf,与本项目中要求的protobuf版本冲突。
> 目前chatglm应该已经不依赖于icetk了,晚上我再测试一下,应该可以解决这个问题。或者就是运行前用另一环境。 liunux4odoo ***@***.***>于2023年7月3日 周一10:23写道: > […](#) > 您好,目前streamlit已经推出了官方的chat组件,是否有兴趣一起用官方组件完成基于streamlit的webui demo呢? 我用最新的streamlit message elements重写了Demo,但是因依赖冲突无法运行: streamlit从1.24.0版本才有st.chat_message,但这个版本要求protobuf>=4,而icetk要求protobuf 我是从依赖中第一个找到icetk的,后来查到版本冲突的包一共有3个: ``` icetk 0.0.7 requires protobuf= 3.19.0. If you cannot immediately regenerate your protos, some other...
> > * 用`streamlit-chatbox`重写了webui_st.py,隐藏对话框细节,使webui的逻辑结构更清楚。 > > * 添加`no_remote_model`, `use_ptuning_v2`, `use_lora`等参数,使得重新加载模型按钮正常工作,与原webui功能保持最大兼容。 > > * 对`local_doc_qa`和`shared.loaderCheckPoint`进行处理,防止模型重复加载造成OOM。 > > > > 现在多个session可以共同使用,但最好保持模型参数一致,否则还是容易导致模型冲突或者重复加载。 > > 很好的PR。 好像提交不全,没看到 AnswerResultStream 的定义有提交。 建议在最新的版本上,重新迁移一下stream的修改,再提交pr,方便测试修改。 > > cannot import...
> > > > streamlit官方最新的chat_message好像不好用,参数太少,可定制能力差。 可以试一下[streamlit-chatbox==0.2.4](https://pypi.org/project/streamlit-chatbox/)。相比官方组件,更简洁一些,还支持输出图片/视频/音频。 官方组件虽然留了较大的扩展性,但需要自己做wrapper去实现。官网上给的例子也只是简单渲染文本
Agree, it will be usefull. In apitable the first column is used as primary key, and a primary key may not be a good choice for label. The Lookup field...
请按照 requirements.txt 版本安装依赖。
把前端Link按钮生成的链接是改为 "localhost/admin/#/admin/my_page" 试试
> > I'm not even creating a constraint and still running into this issue for `alembic==1.13.0` > > ``` > with op.batch_alter_table('channels', schema=None) as batch_op: > batch_op.create_unique_constraint(None, ['tg_id']) > ```...