ModelScope下面提供的例子运行后怎么第二个参数null报错?

ModelScope下面提供的例子运行后怎么第二个参数null报错?
from gradio_client import Client

client = Client("https://modelscope.cn/api/v1/studio/Fengshenbang/Ziya_LLaMA_13B_v1_online/gradio/")
result = client.predict(
"Howdy!", # str representing input in 'Input' Textbox component
"null", # str representing input in 'Ziya' Chatbot component
fn_index=0
)
print(result)

展开
收起
青城山下庄文杰 2023-08-05 21:03:49 98 分享 版权
1 条回答
写回答
取消 提交回答
  • 需要参考接口填入Chatbot的内容630239bdec0ea3c73654025e143153d6.png-此回答整理自钉群“魔搭ModelScope开发者联盟群 ①”

    2023-08-08 10:31:44
    赞同 展开评论

包含图像分类、图像生成、人体人脸识别、动作识别、目标分割、视频生成、卡通画、视觉评价、三维视觉等多个领域

热门讨论

热门文章

还有其他疑问?
咨询AI助理