Skip to content
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

match_reslult, _ = interface.match_interface(weather, TypeError: cannot unpack non-iterable NoneType object #16

Open
lubwhum opened this issue Nov 15, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@lubwhum
Copy link

lubwhum commented Nov 15, 2024

作者,您好,当我成功运行gradio界面的准备match的时候,出现以下错误,请问该怎么解决
File "/environment/miniconda3/envs/beautyMaster/lib/python3.10/site-packages/gradio/blocks.py", line 1513, in call_function
prediction = await anyio.to_thread.run_sync(
File "/environment/miniconda3/envs/beautyMaster/lib/python3.10/site-packages/anyio/to_thread.py", line 56, in run_sync
return await get_async_backend().run_sync_in_worker_thread(
File "/environment/miniconda3/envs/beautyMaster/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 2144, in run_sync_in_worker_thread
return await future
File "/environment/miniconda3/envs/beautyMaster/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 851, in run
result = context.run(func, *args)
File "/environment/miniconda3/envs/beautyMaster/lib/python3.10/site-packages/gradio/utils.py", line 831, in wrapper
response = f(*args, **kwargs)
File "/home/featurize/work/BeautyMaster/beautymaster/demo/app.py", line 122, in run_local_match
match_reslult, _ = interface.match_interface(weather,
TypeError: cannot unpack non-iterable NoneType object
截屏2024-11-15 20 50 52

@RayTang88
Copy link
Owner

最新的代码有针对性的优化了大模型的输出判断逻辑,代码更鲁棒,请尝试

@RayTang88 RayTang88 added the bug Something isn't working label Nov 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants