File size: 249 Bytes
e64f613
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
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