test-space / app.py
TommyLike's picture
Update app.py
7c77711 verified
raw
history blame
322 Bytes
import gradio as gr
import os
def greet(name):
return "Hello " + name + str(os.environ.get("var2")) + str(os.environ.get("VAR2")) + 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()