import gradio as gr gr.Interface(lambda x: ("April's Fools! Not possible to score tweets, because Twitter didn't release their model weights", gr.update(visible=True)), gr.Textbox(lines=4, label="Tweet text"), [gr.Textbox(label="Score"), gr.Image("https://gifdb.com/images/high/oh-come-on-dude-seriously-0qtb74gam5x4os54.gif", visible=False)]).launch()