Spaces:
Sleeping
Sleeping
davidlopez
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -4,8 +4,14 @@ import os
|
|
4 |
|
5 |
import gradio as gr
|
6 |
|
|
|
|
|
|
|
|
|
|
|
|
|
7 |
def greet(name, intensity):
|
8 |
-
return "
|
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,
|