import gradio as gr import numpy as np def showApp(announcement): return np.random.choice(["Hi everybody! ", "What's up yall? ", "How are you guys? "]) + announcement app = gr.Interface(fn=showApp, inputs = "text", outputs = "text") app.launch