josiauhlol commited on
Commit
e64f613
·
1 Parent(s): d1ba6ea

Create app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -0
app.py ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ import gradio as gr
2
+ import numpy as np
3
+
4
+ def showApp(announcement):
5
+ return np.random.choice(["Hi everybody! ", "What's up yall? ", "How are you guys? "]) + announcement
6
+
7
+ app = gr.Interface(fn=showApp, inputs = "text", outputs = "text")
8
+ app.launch