How modify UI of `gr.Interface`?

I use the below code:
gr.Interface(fetch_once, [b1, b2], [b3])
get below ui:


Now I donโ€™t want to show Flag button and modify Submit into Click, Shall I do this?

1 Like

and

b2 = gr.Button(value="Click")
b3 = gr.Button(visible=False)
1 Like

thank you for your help.

1 Like

This topic was automatically closed 12 hours after the last reply. New replies are no longer allowed.