-
Notifications
You must be signed in to change notification settings - Fork 112
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
部署好之后执行报错 #2
Comments
应该是 pip install 到的版本有问题,评论已回复: |
我的解决办法是将clip-interrogator版本替换为0.6.0版本(在默认安装中,我被安装了0.5.5版本),这个方法对我有效。我的gradio版本是默认安装的3.27.0,是最新的版本,应该没有影响。 ——————————划掉—————————— To create a public link, set |
请问0.6.0版本是如何安装的,
|
Traceback (most recent call last):
File "/usr/local/lib/python3.8/dist-packages/gradio/routes.py", line 393, in run_predict
output = await app.get_blocks().process_api(
File "/usr/local/lib/python3.8/dist-packages/gradio/blocks.py", line 1108, in process_api
result = await self.call_function(
File "/usr/local/lib/python3.8/dist-packages/gradio/blocks.py", line 915, in call_function
prediction = await anyio.to_thread.run_sync(
File "/usr/local/lib/python3.8/dist-packages/anyio/to_thread.py", line 31, in run_sync
return await get_asynclib().run_sync_in_worker_thread(
File "/usr/local/lib/python3.8/dist-packages/anyio/_backends/_asyncio.py", line 937, in run_sync_in_worker_thread
return await future
File "/usr/local/lib/python3.8/dist-packages/anyio/_backends/_asyncio.py", line 867, in run
result = context.run(func, *args)
File "webui.py", line 56, in get_prompt_from_image
prompt = ci.interrogate(image)
File "/usr/local/lib/python3.8/dist-packages/clip_interrogator/clip_interrogator.py", line 257, in interrogate
merged = _merge_tables([self.artists, self.flavors, self.mediums, self.movements, self.trendings], self.config)
File "/usr/local/lib/python3.8/dist-packages/clip_interrogator/clip_interrogator.py", line 429, in _merge_tables
m = LabelTable([], None, None, None, config)
TypeError: init() takes 4 positional arguments but 6 were given
The text was updated successfully, but these errors were encountered: