OmniParser
OmniParser copied to clipboard
error running gradio_demo.py
parsed_content_list = '\n'.join([f'type: {x["type"]}, content: {x["content"]}, interactivity: {x["interactivity"]}' for x in parsed_content_list])
The issue is with the nested quotes inside the f-string. You need to use different types of quotes to avoid conflicts. Here is the corrected line: