poppp234
poppp234
试试这样搞 { "model": "gpt-3.5-turbo", "messages": [ { "role": "user", "content": "/home/a47/桌面/R-2C.jpg描述如下图片 " } ], "temperature": 0.7, "top_p": 0.9, "max_length": 100, "stream": false, "stop": [ "" ] }
> @poppp234 如果图片和模型在同一台机器上,模型回复:I'm sorry, but as an AI language model, I do not have access to files or directories on your computer or any external system. 如果不在同一台机器上,比如模型在服务器上运行,我需要在其他电脑调用api,应该如何上传图片呢? 我是自己重新构建了一个图片上传API 图片由客户端上传到服务器端后返回服务器相对路径到客户端 然后根据这个相对路径构建json传给服务器
看图 加标签试试 确定本地相对路径是对的吗? 关于显存增加的问题 我还没注意 回头我测试一下。 
构建json要按webui的逻辑来 图在先 文在后 读路径文件权限够
> > > @poppp234 如果图片和模型在同一台机器上,模型回复:I'm sorry, but as an AI language model, I do not have access to files or directories on your computer or any external system. 如果不在同一台机器上,比如模型在服务器上运行,我需要在其他电脑调用api,应该如何上传图片呢? >...