Open shomeAvataar opened 7 months ago
The version of gradio is am using is : 3.25.0. Still O get error I am getting error while running: segment_anything_webui:
when I run python app.py, I get
Traceback (most recent call last): File "/home/neo/Desktop/shome/mesh_related/mesh_FG_BG_segmentation/codes/segment_anything_webui/app.py", line 189, in button_video.click(run_inference, inputs=[device, model_type, points_per_side, pred_iou_thresh, stability_score_thresh, File "/home/neo/miniconda3/envs/shome_SAM_py39/lib/python3.9/site-packages/gradio/blocks.py", line 1285, in exit self.config = self.get_config_file() File "/home/neo/miniconda3/envs/shome_SAM_py39/lib/python3.9/site-packages/gradio/blocks.py", line 1261, in get_config_file "input": list(block.input_api_info()), # type: ignore File "/home/neo/miniconda3/envs/shome_SAM_py39/lib/python3.9/site-packages/gradio_client/serializing.py", line 44, in input_api_info types = api_info.get("serialized_input", [api_info["info"]["type"]] * 2) # type: ignore KeyError: 'type
I'm having the same problem, have you solved it already? @shomeAvataar
pip install gradio==3.50.0
The version of gradio is am using is : 3.25.0. Still O get error I am getting error while running: segment_anything_webui:
when I run python app.py, I get
Traceback (most recent call last): File "/home/neo/Desktop/shome/mesh_related/mesh_FG_BG_segmentation/codes/segment_anything_webui/app.py", line 189, in
button_video.click(run_inference, inputs=[device, model_type, points_per_side, pred_iou_thresh, stability_score_thresh,
File "/home/neo/miniconda3/envs/shome_SAM_py39/lib/python3.9/site-packages/gradio/blocks.py", line 1285, in exit
self.config = self.get_config_file()
File "/home/neo/miniconda3/envs/shome_SAM_py39/lib/python3.9/site-packages/gradio/blocks.py", line 1261, in get_config_file
"input": list(block.input_api_info()), # type: ignore
File "/home/neo/miniconda3/envs/shome_SAM_py39/lib/python3.9/site-packages/gradio_client/serializing.py", line 44, in input_api_info
types = api_info.get("serialized_input", [api_info["info"]["type"]] * 2) # type: ignore
KeyError: 'type