Spaces:
Sleeping
Sleeping
vtrv.vls
commited on
Commit
•
8873b6c
1
Parent(s):
bac027d
secret test
Browse files
app.py
CHANGED
@@ -2,8 +2,7 @@ import gradio as gr
|
|
2 |
import os
|
3 |
|
4 |
def greet(name):
|
5 |
-
|
6 |
-
return "Hello " + name + "!!"
|
7 |
|
8 |
demo = gr.Interface(fn=greet, inputs="text", outputs="text")
|
9 |
demo.launch()
|
|
|
2 |
import os
|
3 |
|
4 |
def greet(name):
|
5 |
+
return "Hello " + name + os.getenv('GIGACHAT_API_TOKEN')[-4:] + "!!"
|
|
|
6 |
|
7 |
demo = gr.Interface(fn=greet, inputs="text", outputs="text")
|
8 |
demo.launch()
|