We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b8b952c commit 6ffcdc9Copy full SHA for 6ffcdc9
gradio_demo.py
@@ -73,7 +73,11 @@ def process(
73
image = Image.open(io.BytesIO(base64.b64decode(dino_labled_img)))
74
75
print('finish processing')
76
- return image, str(parsed_content_list), str(label_coordinates)
+ output_dict = {
77
+ "parsed_content_list": parsed_content_list,
78
+ "label_coordinates": label_coordinates,
79
+ }
80
+ return image, str(output_dict)
81
82
83
with gr.Blocks() as demo:
0 commit comments