Trainformers / app.py
josiauhlol's picture
Create app.py
e64f613
raw
history blame contribute delete
No virus
249 Bytes
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