import gradio as gr def create_display(): text = """
Microsoft Logo
Try OmniParser in this space: OmniParser Link
""" return text with gr.Blocks() as app: gr.HTML(create_display) # try: # ignore = gr.Interface.load("models/microsoft/OmniParser") # except Exception as e: # print(f"Warning: Failed to load model due to {e}. Continuing without model.") app.launch()