NimaBoscarino commited on
Commit
6795e07
1 Parent(s): d2fe973

Create app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -0
app.py ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ import gradio as gr
2
+ import os
3
+
4
+ def greet_from_secret():
5
+ name = os.environ.get('NAME')
6
+ return "Hello " + name + "!!"
7
+
8
+ iface = gr.Interface(fn=greet, inputs=None", outputs="text")
9
+ iface.launch()