I’m using a HTML component to display html formatted information coming back from openai completions. The content displays fine, but there’s no Label being displayed for the field, which makes the styling in the UI look off. Is this the expected behavior of the component?
When I used a Textbox, the label displayed nicely.
Here’s my code for using the HTML component:
inputs=[gr.components.Textbox(lines=5, placeholder="Enter your question here", label="Question")], outputs=[gr.components.HTML(label="Response",show_label=True,visible=True) ], description="Ask any question?", allow_flagging="manual", examples=ui_examples, flagging_options=["The response is incorrect","The response is inappropriate","The response doesn't make sense"] )