File size: 328 Bytes
9730ce9
0965bf4
9730ce9
 
a853d7a
9730ce9
 
 
1
2
3
4
5
6
7
8
import gradio as gr
import os

def greet(name):
    return "Hello " + name + str(os.environ.get("husheng")) + str(os.environ.get("HUSHENG"))  + str(os.environ.get("VAR1")) + str(os.environ.get("SECRET1")) + str(os.environ.get("SECRET_SECRET1")) +"!!"

iface = gr.Interface(fn=greet, inputs="text", outputs="text")
iface.launch()