davidlopez commited on
Commit
dbd71cd
·
verified ·
1 Parent(s): 185094a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -1
app.py CHANGED
@@ -4,8 +4,14 @@ import os
4
 
5
  import gradio as gr
6
 
 
 
 
 
 
 
7
  def greet(name, intensity):
8
- return "Hello, " + name + "!" * int(intensity)
9
 
10
  demo = gr.Interface(
11
  fn=greet,
 
4
 
5
  import gradio as gr
6
 
7
+
8
+
9
+ secret_test = os.getenv(SecretTest)
10
+
11
+
12
+
13
  def greet(name, intensity):
14
+ return "your secret test key is: " + secret_test + "!" * int(intensity)
15
 
16
  demo = gr.Interface(
17
  fn=greet,