File size: 338 Bytes
d7f6be3
 
519e695
1
2
3
import gradio as gr

gr.Interface(lambda x: ("April's Fools! Not possible to score tweets, because Twitter didn't release their weights", gr.update(visible=False)), gr.Textbox(lines=4, label="Tweet text"), [gr.Textbox(label="Score"), gr.Image("https://media.tenor.com/so3cWgS5m6oAAAAM/really-dude-seriously.gif", visible=False)]).launch()