nongfu9woo
nongfu9woo
@Jeremy-J-J @misa527528 According to the plan in #230, adding a proxy can solve this issue. Please note to change the port to your own.
在streamlit_app.py中,给result添加proxy代理,如果还是出现同样的问题,换一个节点
我是本地运行(不会用docker),在streamlit_app.py中,添加代理result = you.Completion.create(prompt=question, proxy="127.0.0.1:10809") # 改为自己的端口号,如果提示unable to fetch,换节点。至少目前我碰到的问题就是这样解决的。
> > 我是本地运行(不会用docker),在streamlit_app.py中,添加代理result = you.Completion.create(prompt=question, proxy="127.0.0.1:10809") # 改为自己的端口号,如果提示unable to fetch,换节点。至少目前我碰到的问题就是这样解决的。 > > 我you也可以运行成功, 你换成poe试试可以不 没有poe的包吧,  换过forefront的,因为机器人验证的问题,没法用
> > > > 我是本地运行(不会用docker),在streamlit_app.py中,添加代理result = you.Completion.create(prompt=question, proxy="127.0.0.1:10809") # 改为自己的端口号,如果提示unable to fetch,换节点。至少目前我碰到的问题就是这样解决的。 > > > > > > > > > 我you也可以运行成功, 你换成poe试试可以不 > > > > > > 没有poe的包吧,...
decode the answer text in streamlit_app.py (line 45)
> same for chinese 在streamlit_app.py中,将45行那获取到answer改成st.markdown(bytes(answer, 'utf-8').decode('unicode_escape'))